1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
DanielnetoDotCom 2021-03-26 20:44:32 -03:00
parent 53584b4760
commit 51d8b22464

View file

@ -2855,7 +2855,7 @@ function rrmdir($dir) {
$pattern = '/videos[\/\\\]?$/i';
$dir = fixPath($dir, true);
if ($dir == getVideosDir() || $dir == "{$global['systemRootPath']}videos".DIRECTORY_SEPARATOR || preg_match($pattern, $dir)) {
_error_log('rrmdir: A script ties to delete the videos Directory '. json_encode($_SERVER), AVideoLog::$SECURITY);
_error_log('rrmdir: A script ties to delete the videos Directory ['.$dir.'] '. json_encode($_SERVER));
return false;
}
if (is_dir($dir)) {