Welcome Guest, Not a member yet? Register   Sign In
End comments showing incorrect file path in native CI files
#1

[eluser]php_princess[/eluser]
As suggested in the installation guide, I changed the names of my "application" and "system" folders. I also updated $system_path and $application_folder in index.php. However, I noticed that in the end comments for the native CI files, there are still paths like this:

/* End of file Controller.php */
/* Location: ./system/core/Controller.php */

Is this a bug and will it cause any problems?
#2

[eluser]Aken[/eluser]
It's not a bug, those are the default paths. And it's just a comment...
#3

[eluser]php_princess[/eluser]
Hmm, so, what is the purpose of the file path at the end of a script? Is it just for the reference of human coders and never looked at by CI?
#4

[eluser]CroNiX[/eluser]
Yes.
#5

[eluser]php_princess[/eluser]
Thanks guys Smile
#6

[eluser]PhilTem[/eluser]
To be precise: It's a PHP comment which means it's not even of interest to the PHP interpreter/server you're running. Therefore it can contain basically any content and mustn't even lead to an existing path Wink




Theme © iAndrew 2016 - Forum software by © MyBB