Parcourir la source

[svn r11883] allows to change the logo in the admin

Eric Marguin il y a 18 ans
Parent
commit
7ecb0ea6f2
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 5 2
      index.php

+ 5 - 2
index.php

@@ -20,7 +20,7 @@
 /**
 *	@package dokeos.main
 * 	@author Patrick Cool <patrick.cool@UGent.be>, Ghent University, Refactoring
-* 	@version $Id: index.php 11226 2007-02-26 13:44:34Z elixir_julian $
+* 	@version $Id: index.php 11883 2007-04-05 12:44:26Z elixir_inter $
 *   @todo check the different @todos in this page and really do them
 * 	@todo check if the news management works as expected
 */
@@ -195,7 +195,10 @@ else
 {
 	if(!file_exists('home/home_news_'.$user_selected_language.'.html'))
 	{
-		include ('home/home_top.html');
+		$home_top_temp=file('home/home_top.html');
+		$home_top_temp=implode('',$home_top_temp);
+		$open=str_replace('{rel_path}',api_get_path(REL_PATH),$home_top_temp);
+		echo $open;
 	}
 	else
 	{