Is there a 'best practice' location to place an include file that will be accessed by multiple domains on the same server? For example I noticed while using Smarty they recommended:
// put full path to Smarty.class.php
require('/usr/local/lib/php/Smarty/Smarty.class.php');
My question isn't Smarty related, I was just using this as an example.
I basically have an idea I want to implement where I could make changes across multiple domains (hosted on the same server for hosting customers) or possibly have multiple domains access the same database, etc so security would be an issue (such as a config.php file).
// put full path to Smarty.class.php
require('/usr/local/lib/php/Smarty/Smarty.class.php');
My question isn't Smarty related, I was just using this as an example.
I basically have an idea I want to implement where I could make changes across multiple domains (hosted on the same server for hosting customers) or possibly have multiple domains access the same database, etc so security would be an issue (such as a config.php file).