Merge pull request #142 from torzak/master

Update Auth.php - Thanks @torzak !

Former-commit-id: cb1a284c6a
This commit is contained in:
Jérôme Schneider 2013-11-05 03:47:28 -08:00
commit 057930bd28

View file

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