Ignore:
Timestamp:
Oct 17, 2014, 8:36:50 PM (10 years ago)
Author:
plg
Message:

compatibility Piwigo 2.7

set the config during activation, instead of loading it from default
config file on each page reload.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/include/piwecard.class.php

    r28625 r30184  
    2727                        }
    2828            }
    29                 $this->get_default_config();
    3029        }
    3130       
     
    3433         * Assign value to the variable $config
    3534         */
    36         private function get_default_config() {
     35        function get_default_config() {
    3736            require(PIWECARD_INSTALL_PATH.'default_values.inc.php');
    3837            foreach ($ecard_default_values as $key => $value) {
Note: See TracChangeset for help on using the changeset viewer.