Ignore:
Timestamp:
Jul 8, 2011, 5:58:37 PM (13 years ago)
Author:
nikrou
Message:

Fix issue preventing config to be persistent.
Thanks to xtouf and Billr for reporting bug.

Update Italian translations, thanks to rio.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pwgCumulus/include/pwgCumulusConfig.class.php

    r11344 r11667  
    3535
    3636    if (!file_exists($this->get_config_filename())) {
     37      $this->setDefaults();
    3738      $this->save_config();
    3839    }
     
    4546      $this->config = $c;
    4647    }
    47     $this->setDefaults();
    4848  }
    4949
     
    7979
    8080  private function setDefaults() {
    81     include_once $this->plugin_dir.'/default_values.inc.php';
     81    include $this->plugin_dir.'/default_values.inc.php';
    8282
    8383    foreach ($default_values as $key => $value) {
Note: See TracChangeset for help on using the changeset viewer.