Weitere ähnliche Inhalte Ähnlich wie Multi tenant CMSes using php (20) Multi tenant CMSes using php11. all instance data, configs, etc., installed automatically or using a “point and click” installer 13. fix in one place, fix everywhere. upgrade once, upgrade everywhere 32. Each blog's details kept in numbered tables in the same database (eg: wp_2_links, wp_23_links, etc) 36. Proxy Config /home/webme /public_html/index.php /.private/config.php /sites.aliases/kvsites.ie /sites/kv-2-30/config.php 37. Proxy Config <?php $host=preg_replace( '/^www/', '', preg_replace( '/[^a-z0-9]/', '', strtolower( $_SERVER['HTTP_HOST'] ) ) ); $cfile='/home/webme/ sites.aliases /'.$host.'/config.php'; if (!file_exists($cfile)) { $cfile='/home/webme/ sites /'.$host.'/config.php'; if (!file_exists($cfile)) { echo 'error resolving domain name "' .$_SERVER['HTTP_HOST'].'" to a WebME server'; exit; } } require $cfile; define('CONFIG_FILE', $cfile); 56. record details such as what user viewed the file, push the file access to a live log view, etc. 58. if an image is /f/image.jpg , how about resizing it if called as /f/image.jpg,width=200 63. If versions don't match, run upgrade script, then re-save the config file with latest version if (!isset($DBVARS['version']) || $DBVARS['version']<32 ) { redirect('/ww.incs/upgrade.php'); }