]> git.mxchange.org Git - friendica.git/blobdiff - bin/auth_ejabberd.php
Test data for the "verb" table
[friendica.git] / bin / auth_ejabberd.php
index fa71faf263915b45c334ca4ce0694f3f41485b9b..d6e20dfe15bd435cb47046b7fc3a12ca69592959 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;
+use Friendica\Security\ExAuth;
 use Psr\Log\LoggerInterface;
 
 if (sizeof($_SERVER["argv"]) == 0) {