XF 2.1 helper_js_global template modifications in admin

Nuno

Well-known member
Hi

I made a small addon injecting css and js in helper_js_global using template modifications and both are visible in the admin.php pages.
How can I avoid this? Just want to add this replacement in the front end.

Thanks
 

Nuno

Well-known member
I don't know if this is correct way, but $app == 'public' will do the trick.
 
Top