Dynamic include_path

From: Date: Mon, 31 Mar 2003 08:16:14 +0000
Subject: Dynamic include_path
Groups: php.general 
Request: Send a blank email to php-general+get-141681@lists.php.net to get a copy of this message
Hey folks, What we are looking to do is give a specific include path for each site in our customer base. This running on MacOSX so basically we have sites set up like: /Users/username/Sites/site.com/phpinc There can be numerous sites in each users directory and numerous users in /Users. Basically what we want to do is have each set up to be able to include only from their include directory, but the boss is wondering if it can be done on one or two lines for every site total. Basically looking for something like this: <Directory /Users/*/Sites/*/phpinc> php-value include_path = . </Directory> or something like it. Is this possible? Or should we just go ahead and set it in each sites declaration? Derek

« previous php.general (#141681) next »