]> git.mxchange.org Git - friendica.git/blobdiff - bin/console.php
Some more debug output
[friendica.git] / bin / console.php
index 27522d8554762bb0a607f21fb38d3020394cb0d4..4d5b4c79c2894f679239bf039dda6655c711036c 100755 (executable)
  *
  */
 
+if (php_sapi_name() !== 'cli') {
+       header($_SERVER["SERVER_PROTOCOL"] . ' 403 Forbidden');
+       exit();
+}
+
 use Dice\Dice;
 use Psr\Log\LoggerInterface;