Changeset 5195 in spip-zone


Ignore:
Timestamp:
Sep 8, 2006, 3:05:57 PM (15 years ago)
Author:
franck.ducas@…
Message:

Quand le fichier mes_options n'existait pas, un mauvais code etat genere. Ce n'est plus le cas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_amelioration_admin_/icones_admin/exec/config_habillage_prive.php

    r5194 r5195  
    136136        else {
    137137                $open_options_file = fopen($options_file, 'w+');
    138                 $new_content = "<?\ndefine('_DIR_IMG_PACK', ('".$plugin_directory."/themes/".$theme."/img_pack/'));\n?>";
     138                $new_content = "<?//\nstart_define_img_pack\ndefine('_DIR_IMG_PACK', ('".$plugin_directory."/themes/".$theme."/img_pack/'));\n//end_define_img_pack\n?>";
    139139                $write = fwrite($open_options_file, $new_content);
    140140                fclose($open_options_file);
Note: See TracChangeset for help on using the changeset viewer.