This commit is contained in:
Eric van der Vlist 2020-05-07 09:53:35 +02:00
parent ba2cc3ec40
commit 0d4af6419a
1 changed files with 1 additions and 9 deletions

View File

@ -128,14 +128,6 @@ if (!class_exists("Owark")) {
self::__construct(); self::__construct();
} }
function archives_dir() {
if (defined('OWARK_ARCHIVES_DIR')) {
return OWARK_ARCHIVES_DIR;
} else {
return dirname(__FILE__) . '/archives';
}
}
/** /**
* Check we have everything we need... * Check we have everything we need...
* *
@ -259,7 +251,7 @@ if (!class_exists("Owark")) {
// Check if we have an archive subdirectory // Check if we have an archive subdirectory
$archives_dir = archives_dir(); $archives_dir = archives_dir();
print_r_log($archives_dir); print_r_log("archives_dir: $archives_dir");
if (!is_dir($archives_dir)) { if (!is_dir($archives_dir)) {
@mkdir($archives_dir); @mkdir($archives_dir);
if (!is_dir($archives_dir)) { if (!is_dir($archives_dir)) {