15.11.2007, 14:08:56
Hm. Thanks for the vote of confidence, Ren.
Anyway, gordon, that's not exactly what the problem is. I know what the problem is, but it'll take me some time to find the actual culprit. Problem is:
In httpdocs/core.php:
<?php
$t_core_path = './core';
include($t_core_path . '/stuff.php');
?>
, and in httpdocs/core/stuff.php:
<?php
include('blargh.php');
?>
One would assume that the second snippet includes httpdocs/core/blargh.php . It does not. It wants to include httpdocs/blargh.php . This is NOT PHP5's fault. According to php devs, that's intentional. I have considered several solutions, all of which seem suboptimal. For now, I added the whole directory hierarchy to include_path which bloated it to 2300 chars. I will see if I can find a better fix.
Anyway, gordon, that's not exactly what the problem is. I know what the problem is, but it'll take me some time to find the actual culprit. Problem is:
In httpdocs/core.php:
<?php
$t_core_path = './core';
include($t_core_path . '/stuff.php');
?>
, and in httpdocs/core/stuff.php:
<?php
include('blargh.php');
?>
One would assume that the second snippet includes httpdocs/core/blargh.php . It does not. It wants to include httpdocs/blargh.php . This is NOT PHP5's fault. According to php devs, that's intentional. I have considered several solutions, all of which seem suboptimal. For now, I added the whole directory hierarchy to include_path which bloated it to 2300 chars. I will see if I can find a better fix.