Ignore:
Timestamp:
Dec 23, 2013, 6:38:47 PM (10 years ago)
Author:
mistic100
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/skeleton/trunk/maintain.inc.php

    r25407 r26137  
    2222   */
    2323  private $installed = false;
     24 
     25  private $default_conf = array(
     26    'option1' => 10,
     27    'option2' => true,
     28    'option3' => 'two',
     29    );
    2430
    2531  /**
     
    3743    if (empty($conf['skeleton']))
    3844    {
    39       $conf['skeleton'] = serialize(array(
    40         'option1' => 10,
    41         'option2' => true,
    42         'option3' => 'two',
    43         ));
    44 
     45      $conf['skeleton'] = serialize($this->default_conf);
    4546      conf_update_param('skeleton', $conf['skeleton']);
    4647    }
Note: See TracChangeset for help on using the changeset viewer.