Marc Fournier
2015-05-07 18:15:51 UTC
Hopefully I didn’t miss this already going through the list, but after upgrading to 1.04, had issues with the pages not being formatted … being slow, didn’t clue into it being because the css/images weren’t being loaded, had a click slap me upside the head for that … the problem is that it looks like smarty.php assumes I have maia installed at /, not as a subdirectory, so it has all the theme stuff hardcoded to / … if this is already “fixed”, sorry for wasted bandwidth, but if not, the fix is simple:
*** /tmp/smarty.php Thu May 7 18:13:19 2015
--- smarty.php Thu May 7 18:11:58 2015
***************
*** 98,104 ****
} else {
$this->plugins_dir = array($this->_basedir.'code/', "Smarty/plugins");
}
! $this->assign('template_dir', '/themes/'.$theme.'/');
}
function getBaseDir() {
--- 98,104 ----
} else {
$this->plugins_dir = array($this->_basedir.'code/', "Smarty/plugins");
}
! $this->assign('template_dir', 'themes/'.$theme.'/');
}
function getBaseDir() {
Marc G Fournier
Owner, Hub.Org Hosting Solutions S.A.
*** /tmp/smarty.php Thu May 7 18:13:19 2015
--- smarty.php Thu May 7 18:11:58 2015
***************
*** 98,104 ****
} else {
$this->plugins_dir = array($this->_basedir.'code/', "Smarty/plugins");
}
! $this->assign('template_dir', '/themes/'.$theme.'/');
}
function getBaseDir() {
--- 98,104 ----
} else {
$this->plugins_dir = array($this->_basedir.'code/', "Smarty/plugins");
}
! $this->assign('template_dir', 'themes/'.$theme.'/');
}
function getBaseDir() {
Marc G Fournier
Owner, Hub.Org Hosting Solutions S.A.