Welcome Guest, Not a member yet? Register   Sign In
Replace underscore (_) with dashes (-) in URL
#13

[eluser]TheFuzzy0ne[/eluser]
No, you shouldn't need to load anything else. Try sticking a big, fat die() in the code somewhere, and see if it's really be loaded.

Code:
class MY_Router extends CI_Router
{
    function __construct()
    {
        die('Woohoo! It\'s working! Sorta...');
    }

    // ...

If it's not working, maybe you've changed the prefix in your configuration file? By default, it should be:
Code:
$config['subclass_prefix'] = 'MY_';


Messages In This Thread
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-30-2013, 08:26 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-30-2013, 10:26 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-30-2013, 11:54 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-30-2013, 04:41 PM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 06:04 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 06:07 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 06:17 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 06:45 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 07:31 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 08:53 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 08:56 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 10:31 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 10:36 AM
Replace underscore (_) with dashes (-) in URL - by El Forum - 03-31-2013, 10:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB