Browse Source

Hacía falta la inclusión de los datos del config.php

Victor De la Rocha 18 years ago
parent
commit
bc13d08ac8
1 changed files with 3 additions and 2 deletions
  1. 3 2
      rss.php

+ 3 - 2
rss.php View File

9
   =========================== */
9
   =========================== */
10
 ?>
10
 ?>
11
 <?
11
 <?
12
-	header("Content-type: text/xml; charset=utf-8");
12
+	//header("Content-type: text/xml; charset=utf-8");
13
 		
13
 		
14
-	require_once("classes/configuration.class.php");
14
+	require(dirname(__FILE__)."/config.php");
15
+	include("classes/configuration.class.php");
15
 	$conf = new configuration();
16
 	$conf = new configuration();
16
 	
17
 	
17
 	echo "<?xml version=\"1.0\""." encoding=\"UTF-8\"?>\n";
18
 	echo "<?xml version=\"1.0\""." encoding=\"UTF-8\"?>\n";