|
Posted by Steve on 04/02/07 19:33
| It actually is auto-prepending to
| /site/pages/page1.php
|
| but not prepending to
| /site/html/Quickform/elements.php
|
| When I add:
| echo ini_get('auto_prepend_file');
| echo "rel path: ".$relativePath;
| exit;
|
| to elements.php, it displays:
| C:\site\inc\relative.path.php
| Notice: Undefined variable: relativePath in
| C:\site\HTML\QuickForm\element.php on line 3
| rel path:
|
| So it appears to be "seeing" where the relative.path.php is but not
| executing it. It does see and execute the script in /site/pages/page1.php
hmmm. i don't know what to say, other than don't use auto prepend file just
yet. put relative.path.php in your include path. then require_once
'relative.path.php' in your /site/html/quickform/element.php script...THEN
run the same test. while you're at it, add another echo for debugging:
echo ini_get('include_path');
make sure that relative.path.php, for this test, is in your include
path...which may or may not actually be c:/site/inc/
let me know how that one goes.
Navigation:
[Reply to this message]
|