- Timestamp:
- 05/15/08 11:31:24 (6 months ago)
- Files:
-
- 1 modified
-
trunk/lib/plogger/install_functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/plogger/install_functions.php
r535 r542 107 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 108 } else { 109 $conf = create_config_file($form['db_host'],$form['db_user'],$form['db_pass'],$form['db_name'] );109 $conf = create_config_file($form['db_host'],$form['db_user'],$form['db_pass'],$form['db_name'],"","","",""); 110 110 } 111 111 // if configuration file is writable, then set the values … … 366 366 $cfg_file .= '// define("PLOGGER_EMBEDDED",""); // 1/0 (True/False) if set will overrule automatic check'."\n"; 367 367 $cfg_file .= '// define("PLOGGER_LOCALE",""); // da_DK de et fr pl ro_RO tr ...etc.'."\n"; 368 if (ini_get('safe_mode')==1 ) {368 if (ini_get('safe_mode')==1 && !empty($ftp_host)) { 369 369 //if safe_mode enabled, write the FTP workaround information to plog-config.php with db information 370 370 $cfg_file .= "\n";
