瀏覽代碼

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

Victor De la Rocha 19 年之前
父節點
當前提交
bc13d08ac8
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      rss.php

+ 3 - 2
rss.php 查看文件

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