Skip to content

Commit

Permalink
Pass the real folder name to autoloader instead of app name
Browse files Browse the repository at this point in the history
  • Loading branch information
kaecyra authored and tburry committed Dec 21, 2011
1 parent 2b129f9 commit 53e7b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/class.applicationmanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 53e7b0f

Please sign in to comment.