initializing git repo
This commit is contained in:
commit
3df8fc53b8
86 changed files with 5649 additions and 0 deletions
39
includes/load_config.php
Executable file
39
includes/load_config.php
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
|
||||
//load config to global vars
|
||||
include("./config.php");
|
||||
|
||||
if (strtolower($CfgSetDebugMode)=="true")
|
||||
{
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', 1);
|
||||
global $GlobalDebungMode;
|
||||
$GlobalDebungMode = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
global $GlobalDebungMode;
|
||||
$GlobalDebungMode = 0;
|
||||
}
|
||||
|
||||
$GlobalLogfile = $CfgLogfile;
|
||||
$GlobalLogfileMaxLength = $CfgLogfileMaxLines;
|
||||
|
||||
$GlobalTimeZone = $CfgStdTimeZone;
|
||||
$GlobalTimeFormat = $CfgStdTimeFormat;
|
||||
|
||||
$GlobalRootPassword = $CfgRootPassword;
|
||||
|
||||
$GlobalTemplate = $CfgStdTemplate;
|
||||
$GlobalLanguage = $CfgStdLanguage;
|
||||
|
||||
$GlobalMysqlHost = $CfgMysqlHost;
|
||||
$GlobalMysqlUser = $CfgMysqlUser;
|
||||
$GlobalMysqlPwd = $CfgMysqlPwd;
|
||||
$GlobalMysqlDatabase = $CfgMysqlDatabase;
|
||||
|
||||
$GlobalUserTimeout = $CfgLoginTimeout;
|
||||
|
||||
$GlobalLockAutoReleaseTime = $CfgLockAutoReleaseTime;
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue