Cheetah
header.inc.php
Go to the documentation of this file.
1 <?php
2 
8 require_once(CH_DIRECTORY_PATH_INC . "utils.inc.php");
9 
13 if(!defined("VERSION")) define("VERSION", "#version#");
14 
18 if(!defined("DB_HOST")) define("DB_HOST", "#globals_db_server#");
19 if(!defined("DB_PORT")) define("DB_PORT", "#globals_db_port#");
20 if(!defined("DB_SOCKET")) define("DB_SOCKET", "#globals_db_socket#");
21 if(!defined("DB_NAME")) define("DB_NAME", "#globals_db_name#");
22 if(!defined("DB_USER")) define("DB_USER", "#globals_db_login#");
23 if(!defined("DB_PASSWORD")) define("DB_PASSWORD", "#globals_db_password#");
24 if(!defined("DB_PREFIX")) define("DB_PREFIX", "#globals_db_prefix#");
25 if(!defined("GLOBAL_MODULE")) define("GLOBAL_MODULE", "global");
26 $sDBModule = strtoupper(substr($sModule, 0, 1)) . substr($sModule, 1);
27 if(!defined("MODULE_DB_PREFIX")) define("MODULE_DB_PREFIX", DB_PREFIX . $sDBModule);
28 
32 $sAdminLogin = "#globals_admin_login#";
33 $sAdminPassword = "#globals_admin_password#";
34 
39 $sRootPath = "#globals_root_path#";
40 $sRootURL = "#globals_root_url#";
41 $sRayHomeDir = "#globals_ray_home_dir#";
42 
45 
49 $sModulesDir = "modules/";
52 
53 $sGlobalDir = "global/";
56 
57 //$sFfmpegPath = $sGlobalPath . "app/ffmpeg.exe";
59 
61 
62 $sDataDir = "data/";
65 
66 $sSmilesetsDir = "smilesets/";
69 
74 $sDefSmileset = "DefaultSmiles";
75 
76 $sNoImageUrl = $sDataUrl . "no_photo.jpg";
77 
82 $sScriptHomeDir = "#globals_script_home_dir#";
84 
88 $sImagesPath = $sScriptHomeUrl . "#globals_script_image_dir#";
89 
93 $sProfileUrl = $sScriptHomeUrl . "#globals_script_profile_page#";
$sGlobalUrl
$sGlobalUrl
Definition: header.inc.php:56
$sHomePath
$sHomePath
Definition: header.inc.php:42
$sRootPath
$sRootPath
Definition: header.inc.php:37
$sRootURL
$sRootURL
Definition: header.inc.php:38
$sIncPath
$sIncPath
Definition: header.inc.php:64
$sModulesUrl
$sModulesUrl
Definition: header.inc.php:52
$sAdminPassword
$sAdminPassword
Definition: header.inc.php:33
$sDataDir
$sDataDir
Definition: header.inc.php:66
$sHomeUrl
$sHomeUrl
Definition: header.inc.php:41
php
$sModule
if(!file_exists($sRayHeaderPath)) $sModule
Definition: index.php:14
$sModulesPath
$sModulesPath
Definition: header.inc.php:53
$sDataPath
$sDataPath
Definition: header.inc.php:68
$sModulesDir
$sModulesDir
Definition: header.inc.php:51
$sDataUrl
$sDataUrl
Definition: header.inc.php:67
$sGlobalDir
$sGlobalDir
Definition: header.inc.php:55
getFfmpegPath
getFfmpegPath()
Definition: utils.inc.php:1988
$sAdminLogin
$sAdminLogin
Definition: header.inc.php:32
$sSmilesetsUrl
$sSmilesetsUrl
Definition: header.inc.php:71
$sDefSmileset
$sDefSmileset
Definition: header.inc.php:78
$sRayHomeDir
$sRayHomeDir
Definition: header.inc.php:39
$sSmilesetsDir
$sSmilesetsDir
Definition: header.inc.php:70
$sScriptHomeDir
$sScriptHomeDir
Definition: header.inc.php:88
$sNoImageUrl
$sNoImageUrl
Definition: header.inc.php:80
$sDBModule
$sDBModule
Definition: header.inc.php:26
$sFfmpegPath
$sFfmpegPath
Definition: header.inc.php:60
$sScriptHomeUrl
$sScriptHomeUrl
Definition: header.inc.php:89
$sImagesPath
$sImagesPath
Definition: header.inc.php:94
$sGlobalPath
$sGlobalPath
Definition: header.inc.php:57
$sProfileUrl
$sProfileUrl
Definition: header.inc.php:99
$sSmilesetsPath
$sSmilesetsPath
Definition: header.inc.php:72