-
- 120 Posts
Hello,
MinifyX use to optimize CSS and JS
I have the CSS as a resource, but if I SITE_STATUS Off
can not read the file.
There is the option to create a rule for SITE_STATUS authorizing locahost?
thanks.
FerX - Developer at Eracom s.r.l.
discuss.answer
-
- 120 Posts
solved with this simple plugin
event: OnHandleRequest
if($_SERVER['REMOTE_ADDR']==$_SERVER['SERVER_ADDR']){
$modx->config['site_status'] = '1';
}
FerX - Developer at Eracom s.r.l.