Changeset 7805 in spip-zone


Ignore:
Timestamp:
Dec 7, 2006, 9:30:32 AM (14 years ago)
Author:
vg@…
Message:

changement du path pour le répertoire IMG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/fckeditor/FCKeditor/editor/filemanager/upload/spip/config.php

    r7686 r7805  
    2525
    2626// Path to uploaded files relative to the document root.
    27 $Config['UserFilesPath'] = '/IMG/' ;
     27$chemin = split("/", $_SERVER["PHP_SELF"]);
     28$chemin_final = "";
     29if($chemin[1]!="plugins") $chemin_final .= "/".$chemin[1];
     30$chemin_final .= "/IMG/";
     31$Config['UserFilesPath'] = $chemin_final ;
    2832
    2933$Config['AllowedExtensions']['File']    = array() ;
Note: See TracChangeset for help on using the changeset viewer.