*** /var/www/html/tiki/db/tiki-db.php 2004-04-08 19:54:32.000000000 +0000 --- /var/www/html/tiki-1.8/db/tiki-db.php 2004-12-09 12:04:42.528017712 +0000 *************** *** 10,23 **** // Please use the local.php file instead containing these variables // If you set sessions to store in the database, you will need a local.php file // Otherwise you will be ok. ! $api_tiki = 'adodb'; ! $db_tiki = 'mysql'; ! $dbversion_tiki = '1.8'; ! $host_tiki = 'localhost'; ! $user_tiki = 'root'; ! $pass_tiki = ''; ! $dbs_tiki = 'tiki'; ! $tikidomain = ''; /* CVS Developers: Do not change any of the above. --- 10,23 ---- // Please use the local.php file instead containing these variables // If you set sessions to store in the database, you will need a local.php file // Otherwise you will be ok. ! //$api_tiki = 'adodb'; ! //$db_tiki = 'mysql'; ! //$dbversion_tiki = '1.8'; ! //$host_tiki = 'localhost'; ! //$user_tiki = 'root'; ! //$pass_tiki = ''; ! //$dbs_tiki = 'tiki'; ! //$tikidomain = ''; /* CVS Developers: Do not change any of the above. *************** *** 46,68 **** (template_c and modules/cache). For example a local.php file : $host_tiki = 'localhost'; - $user_tiki = 'root'; - $pass_tiki = ''; $host_map = array( ! 'feu.org' = array( ! 'dbs_tiki' => 'tiki_cvs', ! 'tikidomain' => 'feu', ! ), ! ! 'localis.org' = array( ! 'dbs_tiki' => 'tiki_localis', ! 'tikidomain' => 'localis', ! ), ); ! ! if (isset($host_map[$HTTP_HOST])) { ! extract($host_map[$HTTP_HOST]); } */ --- 46,76 ---- (template_c and modules/cache). For example a local.php file : $host_tiki = 'localhost'; + $api_tiki='adodb'; + $db_tiki='mysql'; + $dbversion_tiki='1.8'; + $host_tiki = 'localhost'; + + $host_map = array( ! 'feu.org' => array( ! 'dbs_tiki' => 'tiki_cvs', ! 'tikidomain' => 'feu.org', ! 'user_tiki' => 'tiki_cvs', ! 'pass_tiki' => 'tiki_cvs_password' ! ), ! ! 'localis.org' => array( ! 'dbs_tiki' => 'tiki_localis', ! 'tikidomain' => 'localis.org', ! 'user_tiki' => 'tiki_localis', ! 'pass_tiki' => 'tiki_localis_password' ! ), ); ! ! if (isset($host_map[$_SERVER["HTTP_HOST"]])) { ! extract($host_map[$_SERVER["HTTP_HOST"]]); } */