Problem with cataloge.css
Hi all,
I am building a new site for a customer while old site is still live, but sometimes his .css file of his old site is deleted from the sever somehow. So i have to upload the file again once upon a month.
It's about the file cataloge.css, is Contao using this file? or have you guys any idea how this is possible?
Looking forward to your response,
Warm regards, Paul
Re: Problem with cataloge.css
Have you import the css file into Contao?
Re: Problem with cataloge.css
Hi,
No the cataloge.css file is related to the old html webshop.
So it looks like contao is deleting it someway.
Re: Problem with cataloge.css
If your cataloge.css resides on the same directory as Contao (i.e. the same directory containing cron.php or index.php), that css file would be deleted by Contao.
Re: Problem with cataloge.css
Hi,
Thanks for your reply, is their a way to change that so that contao does not erase the cataloge.css?
Re: Problem with cataloge.css
Hi Artified,
Quote:
Originally Posted by Artified
Is their a way to change that so that contao does not erase the cataloge.css?
Yes! Add the following line to your local configuration file "localconfig.php" ("/system/config"):
Code:
$GLOBALS['TL_CONFIG']['rootFiles'][] = 'cataloge.css';
Re: Problem with cataloge.css
Hi,
Lets see if it works out! Many thanks!
Re: Problem with cataloge.css
mod (permissions) it so the file cannot be deleted in the first place?
Re: Problem with cataloge.css
It still works with the way written above on the localconfig.. so if no post, thats the solution ;-)