diff options
Diffstat (limited to 'gen_thumbs.php')
-rwxr-xr-x | gen_thumbs.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gen_thumbs.php b/gen_thumbs.php index 4e621dc..8ea9b17 100755 --- a/gen_thumbs.php +++ b/gen_thumbs.php @@ -1,6 +1,11 @@ #!/usr/bin/php <?php +if(!isset($_SERVER["TERM"])) { + print "<br /><br />This script should only be invoked from command line!<br />\n"; + die; +} + require_once "phpfspot.class.php"; $fspot = new PHPFSPOT; |