]> git.mxchange.org Git - friendica.git/blobdiff - bin/auth_ejabberd.php
typo
[friendica.git] / bin / auth_ejabberd.php
index fa71faf263915b45c334ca4ce0694f3f41485b9b..e9218291633cfb5f1d597e6166dd2f27417aee69 100755 (executable)
  *
  */
 
+if (php_sapi_name() !== 'cli') {
+       header($_SERVER["SERVER_PROTOCOL"] . ' 403 Forbidden');
+       exit();
+}
+
 use Dice\Dice;
 use Friendica\App\Mode;
 use Friendica\Util\ExAuth;