From 0d7c60b54b32568564b67ab01b410ffb400550f6 Mon Sep 17 00:00:00 2001 From: Mitsukarenai Date: Mon, 8 Apr 2013 13:59:49 +0200 Subject: [PATCH] load autoblog.php from relative parent dir instead of full ( PHP Fatal error: require_once(): Failed opening required '/autoblog.suumitsu.eu/htdocs/autoblog.php') --- 0.3/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0.3/functions.php b/0.3/functions.php index fa6f140..54df231 100755 --- a/0.3/functions.php +++ b/0.3/functions.php @@ -81,7 +81,7 @@ function createAutoblog($type, $sitename, $siteurl, $rssurl, $error = array()) { $rss->addNewAutoblog($sitename, $foldername, $siteurl, $rssurl); $fp = fopen('./'. $foldername .'/index.php', 'w+'); - if( !fwrite($fp, "") ) + if( !fwrite($fp, "") ) $error[] = "Impossible d'écrire le fichier index.php"; fclose($fp);