Welcome Guest, Not a member yet? Register   Sign In
Simple Question
#3

[eluser]Randy Casburn[/eluser]
That's not quite true RogerM...

You've got to get into the code a little to understand this one. If you're going to use the URL helper to build your links for you, please look into the code and try to understand what it is doing for you. Around line 125 of the url_helper.php file the <href> tag is built. Prior to that you'll notice it uses a function call to site_url() to gather up the what's needed to build the URL for the the tag. It get's a little tricky at that point, but here's the rub, eventually, it pulls whatever you have on the 'index_page' configuration parameter in the config.php configuration file and uses it. If it's blank, as it should be with the "Removing index.php" option, then index.php won't show up.

More than likely, it isn't blank.

Now, if you weren't lazy you could have figured that out on your own and actually learned a lot about CI in the process. That's how most of us learned this stuff. Try...it really works.

Randy


Messages In This Thread
Simple Question - by El Forum - 10-22-2008, 08:44 PM
Simple Question - by El Forum - 10-22-2008, 10:07 PM
Simple Question - by El Forum - 10-22-2008, 10:49 PM
Simple Question - by El Forum - 10-23-2008, 01:39 PM
Simple Question - by El Forum - 01-28-2011, 07:37 AM
Simple Question - by El Forum - 01-28-2011, 09:35 AM
Simple Question - by El Forum - 01-30-2011, 09:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB