Posted by Thorsten Ottosen on 11/18/05 14:50
Dear All,
I define my include path to foo.
Then I create the following directory structure for my project:
foo/
foo/util/
foo/admin/
Then I create the following files:
foo/util/util.php // includes everything in this dir
foo/common.php // includes util/util.php and some more
foo/admin/foo.php // includes common.php
The problem is now that the functions in the utility headers are not
available in foo.php. I get the following error:
Fatal error: Call to undefined function generateAllGroupModels() in
E:\dezide\dezide_admin\admin\model_view.php on line 42
The function exists all right.
Am I doing something illegal with includes?
Thanks
-Thorsten
Navigation:
[Reply to this message]
|