Pārlūkot izejas kodu

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

Victor De la Rocha 19 gadus atpakaļ
vecāks
revīzija
bc13d08ac8
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      rss.php

+ 3 - 2
rss.php Parādīt failu

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";