Ignore:
Timestamp:
Mar 23, 2017, 10:02:22 PM (3 years ago)
Author:
kent1@…
Message:

Utiliser ecrire_config même pour notre table des métas différente (spipmotion_metas) bis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/spipmotion/trunk/inc/spipmotion_verifier_binaires.php

    r98343 r103469  
    4646        $safe_mode = @ini_get('safe_mode');
    4747        if ($safe_mode == 1) {
    48                 ecrire_meta('spipmotion_safe_mode', 'oui', '', 'spipmotion_metas');
     48                ecrire_config('/spipmotion_metas/spipmotion_safe_mode', 'oui');
    4949                $safe_mode_path = @ini_get('safe_mode_exec_dir');
    50                 ecrire_meta('spipmotion_safe_mode_exec_dir', $safe_mode_path, '', 'spipmotion_metas');
     50                ecrire_config('/spipmotion_metas/spipmotion_safe_mode_exec_dir', $safe_mode_path);
    5151        } else {
    52                 effacer_meta('spipmotion_safe_mode', 'spipmotion_metas');
    53                 effacer_meta('spipmotion_safe_mode_exec_dir', 'spipmotion_metas');
     52                effacer_config('/spipmotion_metas/spipmotion_safe_mode');
     53                effacer_config('/spipmotion_metas/spipmotion_safe_mode_exec_dir');
    5454        }
    5555
Note: See TracChangeset for help on using the changeset viewer.