summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--useradm.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/useradm.php b/useradm.php
index 2af25d2..d36167a 100644
--- a/useradm.php
+++ b/useradm.php
@@ -1,5 +1,9 @@
-#!/usr/bin/php
<?php
+ if (!defined('STDIN')) {
+ print "Please run this script via PHP CLI interpreter (php ./useradm.php).";
+ exit;
+ }
+
require_once "config.php";
require_once "db.php";