1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
daniel 2020-05-27 10:14:09 -03:00
parent 23cae1b29b
commit 215487aa9d

View file

@ -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);