CodeIgniter
CodeIgniter copied to clipboard
Config class, method system_url assumes system folder is inside app folder
At line: [code]return $this->slash_item('base_url').end($x).'/';[/code]
the method is mixing things. My system folder, for example, is at server's root, while applications are at separate directories in the same level. Thus, systems 'system_url' cannot be assumed as sub-url of application's 'base_url'.
@stefanomozart I would recommend making MY_Config extending CI_Config and write system_url() to your needs.