jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Anomie: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I61b35e34e8ccfa8e7f679e3792daee66ebc52209
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/php/luasandbox
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to