Overriding the css_url function?

B

benFF

Guest
Member
I want to deliver my css.php file via a CDN (pull domain, not CloudFlare), but it seems there is no config.php variable to set the CSS root URL. ($config['cssUrl'] or something like that)

The function css_url in templater.php doesn't have the code to add a URL prefix, so without hacking that file I can't see a way to add my CDN URL to the beginning.

I can manually insert it into the helper_js_global and font_awesome_setup templates, but this won't catch any CSS that is dynamically...

Read more

Continue reading...
 
BlackSpigot General Chat
Rules Help Users
    R @ rivescc123: hi, i need help, can a staff contact with me?
    Top