dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Added --postime option syncFileBackend."
[lhc/web/wiklou.git]
/
maintenance
/
locking
/
LockServerDaemon.php
diff --git
a/maintenance/locking/LockServerDaemon.php
b/maintenance/locking/LockServerDaemon.php
index
0ba9bfe
..
01fbac7
100644
(file)
--- a/
maintenance/locking/LockServerDaemon.php
+++ b/
maintenance/locking/LockServerDaemon.php
@@
-23,7
+23,7
@@
* @ingroup LockManager Maintenance
*/
-if (
php_sapi_name()
!== 'cli' ) {
+if (
PHP_SAPI
!== 'cli' ) {
die( "This is not a valid entry point.\n" );
}
error_reporting( E_ALL );