problem with chars in classes |
[eluser]AndyBrandy[/eluser]
Hello, i have on my old blog some urls like this: http://example.com/class-first/ When i create controller "class-first", it must have name "Class-first". But it returns error: Parse error: syntax error, unexpected '-', expecting '{' in /data/www/test.ex/system/application/controllers/class-first.php on line 3 What can i do when i don't want change url?
[eluser]Michael Wales[/eluser]
Change the URL, then do a 301 Redirect from your old name with the dash to the new class without the dash. |
Welcome Guest, Not a member yet? Register Sign In |