Merge pull request #142 from torzak/master
Update Auth.php - Thanks @torzak !
Former-commit-id: cb1a284c6a
This commit is contained in:
commit
057930bd28
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue