With PHP, you can include a file from anywhere on your system. However, some servers require you to add the path to open_basedir for it to be allowed.
With WB3, you will simply place an index.php file in the root of your installation/site, and that file will contain configuration and then include that shared system file.
E.g. /var/www/mysite/index.php:
<?php
$config['db_host'] = 'localhost';
$config['db_user'] = 'user';
$config['db_pass'] = 'password';
$config['db_name'] = 'wb';
require_once('/usr/share/websitebaker3/run.php');
?>
E.g. /usr/share/websitebaker3/run.php
<?php
// include wb libraries
// execute code
?>
Ryan
