mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
parent
53584b4760
commit
51d8b22464
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue