1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

FIX video count issue

This commit is contained in:
daniel 2020-02-05 11:09:17 -03:00
parent ed2d0dafdb
commit cd988a859e

View file

@ -2,7 +2,8 @@
$global['webSiteRootURL'] .= (substr($global['webSiteRootURL'], -1) == '/' ? '' : '/'); $global['webSiteRootURL'] .= (substr($global['webSiteRootURL'], -1) == '/' ? '' : '/');
$global['systemRootPath'] .= (substr($global['systemRootPath'], -1) == '/' ? '' : '/'); $global['systemRootPath'] .= (substr($global['systemRootPath'], -1) == '/' ? '' : '/');
session_name(preg_replace( '/[\W]/', '', $global['webSiteRootURL'])); $global['session_name'] = preg_replace( '/[\W]/', '', $global['webSiteRootURL']);
session_name($global['session_name']);
ini_set('error_log', $global['systemRootPath'] . 'videos/avideo.log'); ini_set('error_log', $global['systemRootPath'] . 'videos/avideo.log');
global $global, $config, $advancedCustom, $advancedCustomUser; global $global, $config, $advancedCustom, $advancedCustomUser;