"Fossies" - the Fresh Open Source Software Archive

Member "eventh/inc.php" (26 Jan 2010, 2251 Bytes) of package /linux/privat/old/eventh-1.1.11.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "inc.php" see the Fossies "Dox" file reference documentation.

    1 <?
    2 /*
    3     This file is part of Event Horizon (EVH).
    4 
    5     EVH is free software; you can redistribute it and/or modify
    6     it under the terms of the GNU General Public License as published by
    7     the Free Software Foundation; either version 3 of the License, or
    8     (at your option) any later version.
    9 
   10     EVH is distributed in the hope that it will be useful,
   11     but WITHOUT ANY WARRANTY; without even the implied warranty of
   12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13     GNU General Public License for more details.
   14 
   15     You should have received a copy of the GNU General Public License
   16     along with this program.  If not, see <http://www.gnu.org/licenses/>.
   17 */
   18 
   19 // *** DO NOT EDIT THIS FILE!!!! ***
   20 //   Any changes in this file will be lost on future upgrades.  Any of these
   21 //   values which are specified in inc.php.local will override those below.
   22 
   23 
   24 // Database credentials;
   25 $dbhost = 'localhost';
   26 $dbname = 'eventhorizon';
   27 $dbuser = 'changeme';
   28 $dbpass = 'changeme';
   29 
   30 // Can we access the site via SSL?
   31 $enablessl = FALSE;
   32 
   33 // Default file path.  This needs to be writable by the user apache runs as;
   34 $fpath = '/var/www/uploads';
   35 
   36 // get the http path directory name of the script as well as the server name;
   37 $servername = 'changeme';
   38 $serverpath = '/var/www/eventhorizon';
   39 $companyname = 'changeme';
   40 
   41 // graphic location;
   42 $banner = '';
   43 
   44 // Whether or not to show footer disclaimer;
   45 $showdisclaimer = FALSE;
   46 
   47 // Do we save a history of uploads and downloads and/or disclose this on page footers?
   48 $savehistory = TRUE;
   49 $discloselogging = TRUE;
   50 
   51 // FTP storage path (must be setup in the ftp daemon, owned by [apache user]:nobody and perms set to 2733;
   52 // Also, the system account they use to FTP the files in as must have the default group equal to the apache server's group;
   53 $ftppath = '/home/ftp/evhftp/';
   54 $ftpuser = 'evhftp';
   55 $ftppass = 'changeme';
   56 $enableFTP = 0;
   57 
   58 // Acceptible email domains (this is a case-insensitive regex);
   59 $domains = "/yourdomain.com|anotherdomain.com/i";
   60 
   61 // REMOVE THESE LINES FROM inc.php.local!!!;
   62 include 'inc.php.local';  // Get any user-specific config changes;
   63 include 'functions.php';  // Call in rest of functions;
   64 ?>