Dennis1993
2013-07-16 906953126e0657bc4a6cdc907f4735b7708d52f4
Update rcube_install.php

write config file automatically to RCUBE_CONFIG_DIR
1 files modified
15 ■■■■■ changed files
installer/rcube_install.php 15 ●●●●● patch | view | raw | blame | history
installer/rcube_install.php
@@ -269,6 +269,21 @@
  /**
   * save generated config file in RCUBE_CONFIG_DIR
   *
   * @return boolean True if the file was saved successfully, false if not
   */
  function save_configfile()
  {
    if(is_writable(RCUBE_CONFIG_DIR))
       {
             return file_put_contents(RCUBE_CONFIG_DIR . 'config.inc.php', $_SESSION['config']);
       }
       return false;
  }
  /**
   * Check the current configuration for missing properties
   * and deprecated or obsolete settings
   *