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
(Bug 37957) Replace php_sapi_name() with PHP_SAPI
[lhc/web/wiklou.git]
/
includes
/
normal
/
UtfNormalGenerate.php
diff --git
a/includes/normal/UtfNormalGenerate.php
b/includes/normal/UtfNormalGenerate.php
index
11d06d4
..
f392df5
100644
(file)
--- a/
includes/normal/UtfNormalGenerate.php
+++ b/
includes/normal/UtfNormalGenerate.php
@@
-25,7
+25,7
@@
* @ingroup UtfNormal
*/
* @ingroup UtfNormal
*/
-if(
php_sapi_name()
!= 'cli' ) {
+if(
PHP_SAPI
!= 'cli' ) {
die( "Run me from the command line please.\n" );
}
die( "Run me from the command line please.\n" );
}