mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
23cae1b29b
commit
215487aa9d
1 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,12 @@ $global['webSiteRootURL'] .= (substr($global['webSiteRootURL'], -1) == '/' ? ''
|
|||
$global['systemRootPath'] .= (substr($global['systemRootPath'], -1) == '/' ? '' : '/');
|
||||
$global['session_name'] = preg_replace( '/[\W]/', '', $global['webSiteRootURL']);
|
||||
session_name($global['session_name']);
|
||||
ini_set('error_log', $global['systemRootPath'] . 'videos/avideo.log');
|
||||
|
||||
if(empty($global['logfile'])){
|
||||
$global['logfile'] = $global['systemRootPath'] . 'videos/avideo.log';
|
||||
}
|
||||
|
||||
ini_set('error_log', $global['logfile']);
|
||||
global $global, $config, $advancedCustom, $advancedCustomUser;
|
||||
|
||||
$global['mysqli'] = new mysqli($mysqlHost, $mysqlUser, $mysqlPass, $mysqlDatabase, @$mysqlPort);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue