Welcome Guest, Not a member yet? Register   Sign In
$this->config->system_url(); returns the wrong URL to my system folder!
#1

[eluser]CISCK[/eluser]
I'm having a problem using $this->config->system_url(); to retrieve the correct URL to my system folder.

The path to my system folder is "codeigniter_1.7.2/system" (as opposed to just "system"), which I updated in the index.php file:

Code:
//index.php

*
|---------------------------------------------------------------
| SYSTEM FOLDER NAME
|---------------------------------------------------------------
|
| This variable must contain the name of your "system" folder.
| Include the path if the folder is not in the same  directory
| as this file.
|
| NO TRAILING SLASH!
|
*/
    $system_folder = "codeigniter_1.7.2/system";

The problem is when I echo "$this->config->system_url();" I get "http://mysite.com/system/".

Shouldn't this function return "http://mysite.com/codeigniter_1.7.2/system/"? If so, any thoughts as to what the problem might be?


Thanks!
#2

[eluser]harman[/eluser]
Only Last /System is picked.

you must change your system folder to one step backward.




Theme © iAndrew 2016 - Forum software by © MyBB