From 2978c7dce9ad52a28acd268eddd20f78cc5f635c Mon Sep 17 00:00:00 2001 From: Rahul Bansal Date: Thu, 30 Aug 2012 15:19:07 +0000 Subject: [PATCH] fix --- create.php | 3 +-- init.php | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/create.php b/create.php index 3fb9bff5..9fe0a506 100755 --- a/create.php +++ b/create.php @@ -3,8 +3,7 @@ CREATE A SITE WITH WORDPRESS */ -include_once('config.php'); - +include_once('init.php'); /** * prompt user to eneter domain name diff --git a/init.php b/init.php index 0639f440..a2c6178b 100755 --- a/init.php +++ b/init.php @@ -5,8 +5,8 @@ error_reporting(E_ALL); if (file_exists('config.php')){ - include 'config.php'} -else{ + include 'config.php'; +}else{ die("Create a config.php to start with..."); }