about summary refs log tree commit diff stats
path: root/central/trunk/install.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-15 15:09:16 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-15 15:09:16 +0000
commit75a4f15e5998cc3995da462e4aa469e86bdf54c0 (patch)
tree17c5975baddca868618cb0b833a5381cc90707d1 /central/trunk/install.php
parentd7367564c1cda6bedc8316302f3f848b4d411aac (diff)
downloadinstadisc-75a4f15e5998cc3995da462e4aa469e86bdf54c0.tar.gz
instadisc-75a4f15e5998cc3995da462e4aa469e86bdf54c0.tar.bz2
instadisc-75a4f15e5998cc3995da462e4aa469e86bdf54c0.zip
Central: Fixed include pathes
Refs #25
Diffstat (limited to 'central/trunk/install.php')
-rw-r--r--central/trunk/install.php6
1 files changed, 3 insertions, 3 deletions
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']))
68 } 68 }
69 } 69 }
70 70
71 @file_put_contents('config.php', "<?php\n\n/* InstaDisc Server - A Four Island Project */\n\n\$dbhost = \"" . $_POST['host'] . "\";\n\$dbuser = \"" . $_POST['username'] . "\";\n\$dbpass = \"" . $_POST['password'] . "\";\n\$dbname = \"" . $_POST['dbname'] . "\";\n\n?>"); 71 @file_put_contents('includes/config.php', "<?php\n\n/* InstaDisc Server - A Four Island Project */\n\n\$dbhost = \"" . $_POST['host'] . "\";\n\$dbuser = \"" . $_POST['username'] . "\";\n\$dbpass = \"" . $_POST['password'] . "\";\n\$dbname = \"" . $_POST['dbname'] . "\";\n\n?>");
72 72
73 if (!file_exists('config.php')) 73 if (!file_exists('includes/config.php'))
74 { 74 {
75 addError($numOfErrors, $errors, '', 'Could not write config.php file, please check directory permissions'); 75 addError($numOfErrors, $errors, '', 'Could not write config.php file, please check directory permissions');
76 } 76 }
@@ -149,7 +149,7 @@ if (!isset($_GET['submit']))
149 { 149 {
150 addError($numOfErrors, $errors, 'xmlrpcURL', 'XML-RPC URL is a required field'); 150 addError($numOfErrors, $errors, 'xmlrpcURL', 'XML-RPC URL is a required field');
151 } else { 151 } else {
152 include_once('xmlrpc/xmlrpc.inc'); 152 include_once('includes/xmlrpc/xmlrpc.inc');
153 153
154 $client = new xmlrpc_client($_POST['xmlrpcURL']); 154 $client = new xmlrpc_client($_POST['xmlrpcURL']);
155 $msg = new xmlrpcmsg('system.listMethods'); 155 $msg = new xmlrpcmsg('system.listMethods');