diff --git a/Core/Frameworks/BaikalAdmin/Core/Auth.php b/Core/Frameworks/BaikalAdmin/Core/Auth.php index d291560..ed58a60 100755 --- a/Core/Frameworks/BaikalAdmin/Core/Auth.php +++ b/Core/Frameworks/BaikalAdmin/Core/Auth.php @@ -59,7 +59,7 @@ class Auth { if((time() - $iTime) < 3600) { # file has been created/updated less than an hour ago; update it's mtime if(is_writable($sEnableFile)) { - @touch($sEnableFile); + @file_put_contents($sEnableFile, ''); } $bLocked = FALSE; } else { @@ -125,4 +125,4 @@ class Auth { public static function lockInstall() { @unlink(PROJECT_PATH_SPECIFIC . "ENABLE_INSTALL"); } -} \ No newline at end of file +}