Mods to script runned via CLI to permits to run also included

This commit is contained in:
fabrixxm
2011-01-24 22:01:56 +01:00
parent e9251499dd
commit 2020ea23b1
4 changed files with 33 additions and 26 deletions

View File

@@ -11,7 +11,7 @@
if($argc != 2)
exit;
return;
load_config('system');
@@ -24,5 +24,5 @@
fetch_url($dir . '?url=' . bin2hex($argv[1]));
exit;
return;