Ignore:
Timestamp:
Oct 1, 2014, 5:38:21 PM (10 years ago)
Author:
gbo
Message:

version 2.7.C by default php 5.2 does not support "array_replace"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/admin.php

    r29842 r29855  
    101101// +-----------------------------------------------------------------------+
    102102$template->assign_var_from_handle( 'ADMIN_CONTENT', 'llgbo_admin_content');
     103// update values in $conf[LLGBO2] in place of  array_replace PHP 5.3
     104function update_llgboconf($old_values, $new_values)
     105        {   
     106        foreach ($new_values as $cle  => $value)
     107                {$old_values [$cle] = $value;   }
     108        return $old_values;
     109        }
    103110?>
Note: See TracChangeset for help on using the changeset viewer.