RE: Best Practices for calling 'setup' classes that extend 'parent' classes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
What is the best practice for correctly targeting  'include' paths  
when using Initialization/Setup classes that extend Parent classes?

In my extend_parent_class.php file, I have to provide an incorrect  
relative path. Apparently, the path (that does work) is relative to  
php file that calls the initialization/setup class  
(call_the_extend_parent_class.php).  Is there a less confusing way to  
correctly target include paths when creating initialization classes?

Should I be using absolute paths instead?
[/snip]

Have you considered autoloading? 

http://us2.php.net/autoload

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux