Permalink
Browse files

First version of installer. New variable added to config.ini. Folder …

…/config need to be +w for apache.
  • Loading branch information...
1 parent b56866a commit 2e229b1d7b5e88b1bac0b60fde4f0ac35e703fa0 @csikvand csikvand committed Jul 20, 2011
Showing with 3,546 additions and 2 deletions.
  1. +2 −0 config/config.sample.ini
  2. +5 −1 index.php
  3. +2,827 −0 install/core.sql
  4. +266 −0 install/index.php
  5. +370 −0 install/save.php
  6. +75 −0 install/stylesheet.css
  7. +1 −1 lib/machine.config.php
View
@@ -24,6 +24,8 @@
ROOT_URL = http://localhost:8080/dart
;Path of www folder
ROOT_PATH = /home/dartdem2/public_html
+;Path of pdftk
+PDFTK_PATH = /usr/bin/pdftk
;*******************************************************************************
;********** Database configuration *********************************************
View
@@ -5,6 +5,11 @@
// Web: http://wiki.bssd.org/index.php/DART_System
// ==================================================================
+if(!file_exists('config/config.ini')) {
+ header("Location: install/index.php");
+ exit(0);
+}
+
include_once("lib/YearQuarter.inc");
if (isset($_GET['debug']))
@@ -125,7 +130,6 @@
}
$cmd = 'logon';
}
-//encryptPasswords();
switch ($cmd) {
case "districtrep":
Oops, something went wrong.

0 comments on commit 2e229b1

Please sign in to comment.