diff --git a/admin/editaccount.php b/admin/editaccount.php index 9ef0073d7d..94d68b572c 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -115,7 +115,7 @@ } if ($docommit) { if ($account_id <> $phpgw_info["user"]["account_id"]) { - $phpgw->preferences->commit_user($users_account_id); +// $phpgw->preferences->commit_user($users_account_id); } else { $phpgw_info["user"]["preferences"] = $phpgw_newuser["user"]["preferences"]; unset($phpgw_newuser); diff --git a/admin/inc/hook_admin_add_def_pref.inc.php b/admin/inc/hook_admin_add_def_pref.inc.php index a8b1689454..ad7be9bf0b 100755 --- a/admin/inc/hook_admin_add_def_pref.inc.php +++ b/admin/inc/hook_admin_add_def_pref.inc.php @@ -1,8 +1,8 @@ preferences->add_newuser("common","maxmatchs","15"); - $phpgw->preferences->add_newuser("common","theme","default"); - $phpgw->preferences->add_newuser("common","tz_offset","0"); - $phpgw->preferences->add_newuser("common","dateformat","m/d/Y"); - $phpgw->preferences->add_newuser("common","timeformat","12"); - $phpgw->preferences->add_newuser("common","lang","en"); +// $phpgw->preferences->add_newuser("common","maxmatchs","15"); +// $phpgw->preferences->add_newuser("common","theme","default"); +// $phpgw->preferences->add_newuser("common","tz_offset","0"); +// $phpgw->preferences->add_newuser("common","dateformat","m/d/Y"); +// $phpgw->preferences->add_newuser("common","timeformat","12"); +// $phpgw->preferences->add_newuser("common","lang","en"); ?> diff --git a/header.inc.php.template b/header.inc.php.template index 6e795ddfef..6eff2868a8 100644 --- a/header.inc.php.template +++ b/header.inc.php.template @@ -28,34 +28,34 @@ * the absolute path to fit your site, and you should be up and running. * \**************************************************************************/ - $phpgw_info["server"]["server_root"] = "__SERVER_ROOT__"; - $phpgw_info["server"]["include_root"] = "__INCLUDE_ROOT__"; + $phpgw_info["server"]["server_root"] = "{SERVER_ROOT}"; + $phpgw_info["server"]["include_root"] = "{INCLUDE_ROOT}"; $phpgw_domain["default"] = array ( - "db_host" => "__DB_HOST__", - "db_name" => "__DB_NAME__", - "db_user" => "__DB_USER__", - "db_pass" => "__DB_PASS__", + "db_host" => "{DB_HOST}", + "db_name" => "{DB_NAME}", + "db_user" => "{DB_USER}", + "db_pass" => "{DB_PASS}", /* Look at the README file */ - "db_type" => "__DB_TYPE__", + "db_type" => "{DB_TYPE}", /* This will limit who is allowed to make configuration modifcations */ - "config_passwd" => "__CONFIG_PASS__" + "config_passwd" => "{CONFIG_PASS}" ); /* If you want to have your domains in a select box, change to True */ - $phpgw_info["server"]["show_domain_selectbox"] = False; + $phpgw_info["server"]["show_domain_selectbox"] = {DOMAIN_SELECTBOX}; /* This is used to control mcrypt's use */ - $phpgw_info["server"]["mcrypt_enabled"] = __ENABLE_MCRYPT__; + $phpgw_info["server"]["mcrypt_enabled"] = {ENABLE_MCRYPT}; /* Set this to "old" for versions < 2.4, otherwise the exact mcrypt version you use. */ - $phpgw_info["server"]["versions"]["mcrypt"] = "__MCRYPT_VERSION__"; + $phpgw_info["server"]["versions"]["mcrypt"] = "{MCRYPT_VERSION}"; /* This is a random string used as the initilazation vector for mcrypt feel free to change it when setting up phpgroupware on a clean database, but you must not change it after that point! It should be around 30 bytes in length. */ - $phpgw_info["server"]["mcrypt_iv"] = "__MCRYPT_IV__"; + $phpgw_info["server"]["mcrypt_iv"] = "{MCRYPT_IV}"; /* Uncomment this out and use this for supporting different domains using this single install */ /* (ignore if you are only supporting a single domain)*/ diff --git a/setup/createheader.php b/setup/createheader.php index 6598cd5856..2e4e4c730a 100644 --- a/setup/createheader.php +++ b/setup/createheader.php @@ -145,14 +145,14 @@