aboutsummaryrefslogtreecommitdiffstats
path: root/include/onedirsync.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/onedirsync.php')
-rw-r--r--include/onedirsync.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/onedirsync.php b/include/onedirsync.php
index ce516da9d..d794fe35e 100644
--- a/include/onedirsync.php
+++ b/include/onedirsync.php
@@ -6,7 +6,7 @@ require_once('include/zot.php');
require_once('include/dir_fns.php');
-function onedirsync_run($argv, $argc){
+function onedirsync_run($argc,$argv){
cli_startup();
@@ -77,6 +77,6 @@ function onedirsync_run($argv, $argc){
}
if (array_search(__file__,get_included_files())===0){
- onedirsync_run($argv,$argc);
+ onedirsync_run($argc,$argv);
killme();
}