[svn r11067] Fix a bug : wrong path to default pictures when we are not in a course

skala
Julian Prud'homme 18 years ago
parent bb39bc4cac
commit 449cecc461
  1. 4
      main/inc/lib/fckeditor/editor/plugins/ImageManager/config.inc.php

@ -47,8 +47,8 @@ if(isset($_SESSION["_course"]["sysCode"])){
//Out of any course (admin)
else{
$IMConfig['base_dir'] = $_configuration['root_sys'].'main/img/fckeditor/';
$IMConfig['base_url'] = $_configuration['root_web'].'main/img/fckeditor/';
$IMConfig['base_dir'] = $_configuration['root_sys'].'main/img/default_courses_img/';
$IMConfig['base_url'] = $_configuration['root_web'].'main/img/default_courses_img/';
}
$IMConfig['server_name'] = $_SERVER['SERVER_NAME'];

Loading…
Cancel
Save