diff options
-rw-r--r-- | phpBB/develop/export_events_for_wiki.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/develop/export_events_for_wiki.php b/phpBB/develop/export_events_for_wiki.php index d0ea9db285..b276b4c5fa 100644 --- a/phpBB/develop/export_events_for_wiki.php +++ b/phpBB/develop/export_events_for_wiki.php @@ -6,6 +6,11 @@ * */ +if (php_sapi_name() != 'cli') +{ + die("This program must be run from the command line.\n"); +} + $phpEx = substr(strrchr(__FILE__, '.'), 1); $phpbb_root_path = __DIR__ . '/../'; |