|  | Posted by Steve on 04/02/07 17:46 
| Steve:|
 | Can I just put 'relative.path.php' in php.ini for the auto_prepend_file?
 | That would save a lot of time.
 
 i don't see why not other than you may not have access to the php.ini file
 on every system/host...whereas you usually do have access to the inc
 directory. it's not a bad idea though.
 
 you may also want to think about chaning the $relativePath variable to a
 $_SERVER variable. not a big deal either, but it makes it seem more of an
 application/server product rather than some abstract variable that comes
 from apparently nowhere (from other developer's perspectives who may later
 work on the code as well).
  Navigation: [Reply to this message] |