Changeset 535 for trunk/lib/plogger/install_functions.php
- Timestamp:
- 05/08/08 16:03:10 (7 months ago)
- Files:
-
- 1 modified
-
trunk/lib/plogger/install_functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/plogger/install_functions.php
r533 r535 104 104 ); 105 105 106 $conf = create_config_file($form['db_host'],$form['db_user'],$form['db_pass'],$form['db_name'],$form['ftp_host'],$form['ftp_user'],$form['ftp_pass'],$form['ftp_path']); 106 if (ini_get('safe_mode')==1) { 107 $conf = create_config_file($form['db_host'],$form['db_user'],$form['db_pass'],$form['db_name'],$form['ftp_host'],$form['ftp_user'],$form['ftp_pass'],$form['ftp_path']); 108 } else { 109 $conf = create_config_file($form['db_host'],$form['db_user'],$form['db_pass'],$form['db_name']); 110 } 107 111 // if configuration file is writable, then set the values 108 112 // otherwise serve the config file to user and ask her to
