diff --git a/library/core/class.applicationmanager.php b/library/core/class.applicationmanager.php index 4094fc30e6a..f1f3aa42670 100755 --- a/library/core/class.applicationmanager.php +++ b/library/core/class.applicationmanager.php @@ -190,7 +190,7 @@ public function TestApplication($ApplicationName, &$Validation) { throw new Exception(T('The application folder was not properly defined.')); // Hook directly into the autoloader and force it to load the newly tested application - Gdn_Autoloader::AttachApplication($ApplicationName); + Gdn_Autoloader::AttachApplication($ApplicationFolder); // Redefine the locale manager's settings $Locale->Set($CurrentLocale, $EnabledApps, $EnabledPlugins, TRUE); $Locale = Gdn::Locale();