Committing to try to fix this shit.

git-svn-id: http://svn.cleancode.org/svn/pickles@84 4d10bc64-7434-11dc-a737-d2d0f8310089
This commit is contained in:
Josh Sherman 2008-12-24 23:13:55 +00:00
parent 54fea0d023
commit 8fc09876cf

View file

@ -57,7 +57,7 @@ class Controller extends Object {
$config = null;
}
}
// Config filename to be loaded
$filename = null;
@ -113,9 +113,9 @@ class Controller extends Object {
$module_name = split('_', $module_class);
// Establishes the shared module information
$shared_module_filename = $config->getSharedModule($module_class);
$shared_module_class = $config->getSharedModule($module_class);
$shared_module_filename = strtr($shared_module_class, '_', '/');
$shared_module_file = PICKLES_PATH . 'common/modules/' . $shared_module_filename . '.php';
$shared_module_class = strtr($shared_module_filename, '/', '_');
$shared_module_name = split('_', $shared_module_class);
// Tries to load the site level module
@ -203,6 +203,7 @@ class Controller extends Object {
$display->shared_module_filename = $shared_module_filename;
$display->shared_module_name = $shared_module_name;
// Loads the module data into the display to be rendered
/**
* @todo perhaps make this a passed variable