From 53e7b0f7ca401fbb12a3cbeb2ab77cdbc5e145a0 Mon Sep 17 00:00:00 2001 From: Tim 'Thunderpuncher' Gunter Date: Tue, 20 Dec 2011 16:39:13 -0500 Subject: [PATCH] Pass the real folder name to autoloader instead of app name --- library/core/class.applicationmanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();