/theme/ is hard coded in the CMS_theme class
public static function get_themes_path($absolute = true)
{
$result = "/themes/";
if (!$absolute)
return $result;
return PATH_APP.$result;
}
I believe it should be using the CMS_settingsmanager get_templates_dir_path method right? or was I still required to keep the themes directory for resources only?
I also found that the resources dir is hardcoded into the theme resource. Is there any way to define the folder which should be used?
/**
* Returns path to the theme resources directory
* relative to the application root directory.
* @return string
*/
public function get_resources_path()
{
return self::get_themes_path(false).$this->code.'/resources';
}not sure if that could use CMS_settingsManager's resources_dir_path directly.
This post has been edited by EHLOVader: 11 April 2012 - 01:30 PM

Help



Report