- Timestamp:
- Jul 26, 2009, 3:19:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/grum_plugins_classes-2/common_plugin.class.inc.php
r3395 r3679 2 2 /* ----------------------------------------------------------------------------- 3 3 class name: common_plugin 4 class version: 2.0 5 date: 200 8-07-134 class version: 2.0.1 5 date: 2009-07-24 6 6 7 7 ------------------------------------------------------------------------------ … … 37 37 2.0.0 - 2008-07-13 38 38 migrate to piwigo 2.0 ; use of PHP5 classes possibilities 39 2.0.1 - 2009-07-24 40 config loader : better management for arrays items 39 41 40 42 --------------------------------------------------------------------------- */ … … 104 106 reset($config); 105 107 while (list($key, $val) = each($config)) 106 { $this->my_config[$key] =$val; } 108 { 109 if(is_array($val)) 110 { 111 foreach($val as $key2 => $val2) 112 { 113 $this->my_config[$key][$key2]=$val2; 114 } 115 } 116 else 117 { 118 $this->my_config[$key] =$val; 119 } 120 } 107 121 } 108 122 }
Note: See TracChangeset
for help on using the changeset viewer.