From 75a4f15e5998cc3995da462e4aa469e86bdf54c0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 15 Aug 2008 15:09:16 +0000 Subject: Central: Fixed include pathes Refs #25 --- central/trunk/install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'central/trunk/install.php') diff --git a/central/trunk/install.php b/central/trunk/install.php index b819e84..e5403ac 100644 --- a/central/trunk/install.php +++ b/central/trunk/install.php @@ -68,9 +68,9 @@ if (!isset($_GET['submit'])) } } - @file_put_contents('config.php', ""); + @file_put_contents('includes/config.php', ""); - if (!file_exists('config.php')) + if (!file_exists('includes/config.php')) { addError($numOfErrors, $errors, '', 'Could not write config.php file, please check directory permissions'); } @@ -149,7 +149,7 @@ if (!isset($_GET['submit'])) { addError($numOfErrors, $errors, 'xmlrpcURL', 'XML-RPC URL is a required field'); } else { - include_once('xmlrpc/xmlrpc.inc'); + include_once('includes/xmlrpc/xmlrpc.inc'); $client = new xmlrpc_client($_POST['xmlrpcURL']); $msg = new xmlrpcmsg('system.listMethods'); -- cgit 1.4.1