aboutsummaryrefslogtreecommitdiffstats
path: root/include/directory.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-01-24 22:01:56 +0100
committerfabrixxm <fabrix.xm@gmail.com>2011-01-24 22:01:56 +0100
commit2020ea23b106c159a705c26e6c79156aafde75ba (patch)
tree32d813d034fe626a7d85279cb20c2497857e5b0e /include/directory.php
parente9251499dd63523a552bc3bf6274e3b851cba4c8 (diff)
downloadvolse-hubzilla-2020ea23b106c159a705c26e6c79156aafde75ba.tar.gz
volse-hubzilla-2020ea23b106c159a705c26e6c79156aafde75ba.tar.bz2
volse-hubzilla-2020ea23b106c159a705c26e6c79156aafde75ba.zip
Mods to script runned via CLI to permits to run also included
Diffstat (limited to 'include/directory.php')
-rw-r--r--include/directory.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/directory.php b/include/directory.php
index 5f835dc4b..4fdcf4928 100644
--- a/include/directory.php
+++ b/include/directory.php
@@ -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;