setup tests

This commit is contained in:
Shish
2015-09-20 20:44:34 +01:00
parent 7bfc959547
commit 2600ef042b
3 changed files with 36 additions and 23 deletions

View File

@ -195,7 +195,7 @@ class CronUploader extends Extension {
// Sets new default dir if not in config yet/anymore
if ($dir == "") {
$dir = $_SERVER ['DOCUMENT_ROOT'] . "/data/cron_uploader";
$dir = data_path("cron_uploader");
$config->set_string ('cron_uploader_dir', $dir);
}