diff --git a/owark.php b/owark.php index 33e5373..063b8f0 100644 --- a/owark.php +++ b/owark.php @@ -128,14 +128,6 @@ if (!class_exists("Owark")) { 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... * @@ -259,7 +251,7 @@ if (!class_exists("Owark")) { // Check if we have an archive subdirectory $archives_dir = archives_dir(); - print_r_log($archives_dir); + print_r_log("archives_dir: $archives_dir"); if (!is_dir($archives_dir)) { @mkdir($archives_dir); if (!is_dir($archives_dir)) {