Permalink
Browse files

Pass the real folder name to autoloader instead of app name

  • Loading branch information...
kaecyra authored and tburry committed Dec 20, 2011
1 parent 2b129f9 commit 53e7b0f7ca401fbb12a3cbeb2ab77cdbc5e145a0
Showing with 1 addition and 1 deletion.
  1. +1 −1 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();

0 comments on commit 53e7b0f

Please sign in to comment.