ソースを参照

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

Victor De la Rocha 18 年 前
コミット
bc13d08ac8
共有1 個のファイルを変更した3 個の追加2 個の削除を含む
  1. 3 2
      rss.php

+ 3 - 2
rss.php ファイルの表示

@@ -9,9 +9,10 @@
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 16
 	$conf = new configuration();
16 17
 	
17 18
 	echo "<?xml version=\"1.0\""." encoding=\"UTF-8\"?>\n";