Procházet zdrojové kódy

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

Julian Prud'homme před 18 roky
rodič
revize
449cecc461

+ 2 - 2
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'];