Running latest version and this is still appearing before head
var MODX_MEDIA_PATH = "media"
It’s doing my head in as it’s affecting the favicon in IE and client very insistent this shows up. I have seen the other threads modxcms.com/forums/index.php/topic,16575.0.htm etc and no help as pages can’t run plug in without failing.
Funnily enough it does not appear on all pages but can’t see the difference. Any ideas how I deactivate this or get the favicon right before </head>?
Isn’t there <?php in any of your plugin codes?
-
MODX Staff
- 10,725 Posts
Validate your HTML; it sounds like some of your templates may not be well-formed and the regexp which places that code on the page is failing as a result.