]> git.mxchange.org Git - friendica.git/blobdiff - bin/testargs.php
test again
[friendica.git] / bin / testargs.php
index b7d7125f7a0fb6081ac0426b1d75449d376f4ae1..9aed353037701676329844e3ea775ca94bb8e51a 100644 (file)
  *
  */
 
+if (php_sapi_name() !== 'cli') {
+       header($_SERVER["SERVER_PROTOCOL"] . ' 403 Forbidden');
+       exit();
+}
 
 if (($_SERVER["argc"] > 1) && isset($_SERVER["argv"][1])) {
        echo $_SERVER["argv"][1];