On 13.10.2005 20:51, Marcus Bointon wrote:
in a.inc.php:<?php $a = 1; ?> in b.class.php: <?php require 'a.inc.php'; class b { function test() { global $a; echo $a; } } ?>
Works fine here.
<?php require_once 'Config.php'; $a = new Config; ?> Fatal error: Class 'Config' not found
Use absolute path everywhere ? I can't reproduce it either. --Wbr, Antony Dovgal
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php