diff --git a/Changelog b/Changelog index 13b972db2..abe525292 100755 --- a/Changelog +++ b/Changelog @@ -1,3 +1,5 @@ +2015-10-17 DariusIII + Fix: Autoloading and api errors 2015-10-16 DariusIII Fix: Add getPreviewCount and getPreviewRange functions used in admin preview list Fix: Path to smarty dir diff --git a/initialise.php b/initialise.php index 5dadf98c9..71de44857 100755 --- a/initialise.php +++ b/initialise.php @@ -2,7 +2,7 @@ require_once 'SPLClassLoader.php'; require_once 'constants.php'; -$classLoader = new SplClassLoader('nzedb', [__DIR__ . DIRECTORY_SEPARATOR . 'nzedb']); +$classLoader = new SplClassLoader('newznab', [__DIR__ . DIRECTORY_SEPARATOR . 'newznab']); $classLoader->register(); -?> +?> \ No newline at end of file diff --git a/libs/autoloader.php b/libs/autoloader.php index 492815264..43b58db04 100644 --- a/libs/autoloader.php +++ b/libs/autoloader.php @@ -1,4 +1,5 @@ \ No newline at end of file diff --git a/www/pages/api.php b/www/pages/api.php index 893e93d1e..8dc4c7b96 100644 --- a/www/pages/api.php +++ b/www/pages/api.php @@ -3,6 +3,8 @@ use newznab\utility\Utility; use newznab\db\Settings; use newznab\controllers\ReleaseComments; use newznab\controllers\Releases; +use newznab\controllers\Category; +use newznab\controllers\BasePage; $rc = new ReleaseComments;