X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=install%2Findex.php;h=569245493f6ed427558624d2b947dfc56a14df3a;hb=85faf95991945b3f5c570e57e232562a1a137408;hp=65ce6668a7dcc74a18f9b6a51c2898729b485c8d;hpb=cb8cf10b735342399abfce9384565a7474b92947;p=fa-stable.git diff --git a/install/index.php b/install/index.php index 65ce6668..56924549 100644 --- a/install/index.php +++ b/install/index.php @@ -1,9 +1,15 @@ + Copyright (C) 2004-2007, Ryan Djurovich. + The code is released under GPLv3 + modified by FrontAcounting, LLC. +***********************************************************************/ error_reporting(E_ALL); ini_set("display_errors", "On"); // Start a session -if(!defined('SESSION_STARTED')) +if(!defined('SESSION_STARTED')) { session_name('ba_session_id'); session_start(); @@ -11,27 +17,30 @@ if(!defined('SESSION_STARTED')) } // Check if the page has been reloaded -if(!isset($_GET['sessions_checked']) || $_GET['sessions_checked'] != 'true') +if(!isset($_GET['sessions_checked']) || $_GET['sessions_checked'] != 'true') { // Set session variable $_SESSION['session_support'] = 'Enabled'; + $_SESSION['message'] = ''; // Reload page header('Location: index.php?sessions_checked=true'); exit(0); -} -else +} +else { // Check if session variable has been saved after reload - if(isset($_SESSION['session_support'])) + if(isset($_SESSION['session_support'])) { $session_support = $_SESSION['session_support']; - } - else - { + } + else + { $session_support = 'Disabled'; } } $path_to_root = ".."; +//include_once($path_to_root.'/config.php'); +$comp_path = $path_to_root."/company"; ?> @@ -60,7 +69,7 @@ function change_os(type) { @@ -79,8 +88,15 @@ function change_os(type) {
Logo
- - +
Error: Seems you have FrontAccounting application already installed.
+After logging as an admin to first installed company you can: +
+
Error:
EnabledDisabled + + + + + + + + +
- FrontAccounting + FrontAccounting Installation Wizard
Magic Quotes GPC + Enabled'; + } else { + echo 'Disabled'; + } + ?> + Register Globals + Enabled'; + } else { + echo 'Disabled'; + } ?>
@@ -127,21 +167,17 @@ function change_os(type) { - - - + + + - - - - - - - - + +
config_db.phpWriteable'; } elseif(!file_exists($path_to_root.'/config_db.php')) { echo 'File Not Found'; } else { echo 'Unwriteable'; } ?>inventory/manage/image/Writeable'; } elseif(!file_exists($path_to_root.'/inventory/manage/image/')) { echo 'Directory Not Found'; } else { echo 'Unwriteable'; } ?>Writeable'; } elseif(file_exists($path_to_root.'/config_db.php')) { echo 'File Exists'; } else { echo 'Unwriteable'; } ?>modules/Writeable'; } elseif(!file_exists($path_to_root.'/modules/')) { echo 'Directory Not Found'; } else { echo 'Unwriteable'; } ?>
lang/ Writeable'; } elseif(!file_exists($path_to_root.'/lang/')) { echo 'Directory Not Found'; } else { echo 'Unwriteable'; } ?>reporting/pdf_files/Writeable'; } elseif(!file_exists($path_to_root.'/reporting/pdf_files/')) { echo 'Directory Not Found'; } else { echo 'Unwriteable'; } ?>
modules/Writeable'; } elseif(!file_exists($path_to_root.'/lang/')) { echo 'Directory Not Found'; } else { echo 'Unwriteable'; } ?>admin/backup/Writeable'; } elseif(!file_exists($path_to_root.'/admin/backup/')) { echo 'Directory Not Found'; } else { echo 'Unwriteable'; } ?>Writeable'; } elseif(!file_exists($comp_path)) { + echo 'Directory Not Found'; } else { echo 'Unwriteable'; } ?>
@@ -194,7 +230,7 @@ function change_os(type) { - + @@ -216,18 +252,26 @@ function change_os(type) { - + + (Please note: May remove existing tables and data) + + + + + @@ -263,7 +307,7 @@ function change_os(type) { /> - + @@ -273,10 +317,9 @@ function change_os(type) {
Please enter your MySQL database server details below...
Host Name:Host Name:
Table Prefix:Table Prefix ( 0_ ): - + />   - /> + />
      - (Please note: May remove existing tables and data)
Fill database with demo data: + /> +
+
 

Step 5

Please enter the training company name below (you can create your own company later)...

 

Please note:   - FrontAccounting is released under the - GNU General Public License -
- By clicking install, you are accepting the license. + FrontAccounting is released under the + GNU General Public License. By + clicking install, you are accepting the license.
@@ -286,7 +329,7 @@ function change_os(type) { - + @@ -299,7 +342,7 @@ function change_os(type) { FrontAccounting is released under the - GNU General Public License + GNU General Public License