Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/91857
Change subject: Replace php_sapi_name() with PHP_SAPI
......................................................................
Replace php_sapi_name() with PHP_SAPI
Change-Id: I61b35e34e8ccfa8e7f679e3792daee66ebc52209
---
M luasandbox.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/php/luasandbox
refs/changes/57/91857/1
diff --git a/luasandbox.php b/luasandbox.php
index 40034e1..e49852c 100644
--- a/luasandbox.php
+++ b/luasandbox.php
@@ -1,5 +1,5 @@
<?php
-$br = (php_sapi_name() == "cli")? "":"<br>";
+$br = (PHP_SAPI == "cli")? "":"<br>";
if(!extension_loaded('luasandbox')) {
dl('luasandbox.' . PHP_SHLIB_SUFFIX);
--
To view, visit https://gerrit.wikimedia.org/r/91857
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I61b35e34e8ccfa8e7f679e3792daee66ebc52209
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/php/luasandbox
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits