ID: 43619 Updated by: [EMAIL PROTECTED] Reported By: senad dot meskin at studioce dot ba -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows xp PHP Version: 5.2.5 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. It's based on the current working directory. Previous Comments: ------------------------------------------------------------------------ [2007-12-17 16:23:44] senad dot meskin at studioce dot ba Description: ------------ When I extend object from the other class and I use include_once it does not use current script path for include. Reproduce code: --------------- /* Dir "/web/lib/Modul.php" */ Class Modul { protected $modulName; public function LoadActions() { include($modulName . "action.php"); } } /* Dir "/web/Moduls/News/News.php" */ class News extends Modul { public function __construct() { $this->LoadActions(); } } Expected result: ---------------- It say that that file does note exists because it look in the path of the extended class ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43619&edit=1