Re: [Fix] Images / CSS Not loading
Jason Street <[email protected]>
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Message-ID | <[email protected]> |
Hi Marc,
That's great. I did bring it up on list recently and have a ticket open
on github (https://github.com/technion/maia_mailguard/issues/27).
You're change appears to be the one Janky Jay suggested which certainly
worked for me. The only thing is it possibly does not work if maia is
on a Subdomain, at least Janky seemed to think that was the case, I have
not tested that part.
If you had the time do you think you could create a pull request on
Github? It'd be great to get the repo development moving.
Technion/Joshua Small had set up the fork based on a number of people
offering to help but that has not really happened yet
(https://github.com/technion/maia_mailguard/issues/29#issuecomment-98890090)
~~Jason S
On 2015-05-07 18:15, Marc Fournier wrote:
> 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.
>
> _______________________________________________
> Maia-users mailing list
> [email protected]
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users