#36089 [Opn->Bgs]: using require_once with variable names for path doesnt realize they are same
| From: | tony2001@php.net | Date: | Thu, 19 Jan 2006 16:41:13 +0000 |
| Subject: | #36089 [Opn->Bgs]: using require_once with variable names for path doesnt realize they are same | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-92227@lists.php.net to get a copy of this message | ||
ID: 36089
Updated by: tony2001@php.net
Reported By: diana at hotelkey dot com
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: Windows and Linux
PHP Version: 4.4.2
New Comment:
.
Previous Comments:
------------------------------------------------------------------------
[2006-01-19 17:32:56] diana at hotelkey dot com
just realized that the strings are not exactly the same, we are using
../../ in one and not the other. Thanks
------------------------------------------------------------------------
[2006-01-19 17:05:18] derick@php.net
Are you sure the capitalization of the two are the same?
------------------------------------------------------------------------
[2006-01-19 17:00:53] diana at hotelkey dot com
Description:
------------
part of our application does a require once like this:
require_once Path::getPath('libraries')."file.php"
and other parts do it like this
require_once $libraries_path."file.php"
php doesnt recognize these as the same even though they both result in
an identical string as the path
and therefore includes the file twice.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36089&edit=1