X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=install%2Findex.php;h=221d207c38ce6a2844ad721a15f1b4ee03729e7f;hb=fc0693c868a6371cf100423e21ed7906e0980e48;hp=68f3b354ae8f20f80eb4d98674450a450f57fed8;hpb=1273d798e494986d5d35b885ccbd0ccaaa0c2695;p=fa-stable.git diff --git a/install/index.php b/install/index.php index 68f3b354..221d207c 100644 --- a/install/index.php +++ b/install/index.php @@ -2,7 +2,7 @@ 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(); @@ -10,28 +10,29 @@ 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'; // 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'); +//include_once($path_to_root.'/config.php'); +$comp_path = $path_to_root."/company"; ?> @@ -60,7 +61,7 @@ function change_os(type) { @@ -79,8 +80,8 @@ function change_os(type) {
Logo
- - + +
Error:
EnabledDisabled @@ -135,7 +136,7 @@ function change_os(type) { - @@ -212,16 +213,16 @@ function change_os(type) { - + + (Please note: May remove existing tables and data) @@ -259,7 +260,7 @@ function change_os(type) { /> - + @@ -269,7 +270,7 @@ function change_os(type) {
- FrontAccounting + FrontAccounting Installation Wizard
lang/ Writeable'; } elseif(!file_exists($path_to_root.'/lang/')) { echo 'Directory Not Found'; } else { echo 'Unwriteable'; } ?> Writeable'; } elseif(!file_exists($comp_path)) { echo 'Directory Not Found'; } else { echo 'Unwriteable'; } ?>
Table Prefix:Table Prefix ( 0_ ): - + />   />
      - (Please note: May remove existing tables and data)

 

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