Design Extender CSS Menu Writer Error
On upload of the site to the remote server I get this error:
Warning: strpos() [function.strpos]: Empty delimiter in /home/daryecko/public_html/CSSMenuWriter/cssmw_content/menu.php on line 6
Warning: strpos() [function.strpos]: Empty delimiter in /home/daryecko/public_html/CSSMenuWriter/cssmw_content/menu.php on line 10
This is line 6 -
if (strpos($WA_curURL,strtolower($WA_localRoot)) === 0 && (strlen($WA_localRoot) >= strlen($WA_remoteRoot) || strpos($WA_curURL,strtolower($WA_localRoot)) === 0)) {
This is line 10 -
if (strpos(strtolower($WA_thisFile), strtolower($assumedRoot)) === 0) {
To make it work, i added an "@" symbol after the first ( ....so each one has if (@strpos.... Is this alright ?