X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=install%2Findex.php;h=a02fb38e762667ac0fac2f23b35c11867be4c6d7;hb=ab7ef36ac4dc1d5187c86345de6706c7481b959f;hp=65ce6668a7dcc74a18f9b6a51c2898729b485c8d;hpb=cb8cf10b735342399abfce9384565a7474b92947;p=fa-stable.git diff --git a/install/index.php b/install/index.php index 65ce6668..a02fb38e 100644 --- a/install/index.php +++ b/install/index.php @@ -1,9 +1,8 @@ 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'); +$comp_path = $path_to_root."/company"; ?> @@ -60,7 +61,7 @@ function change_os(type) {
- FrontAccounting + FrontAccounting Installation Wizard | |||||
config_db.php | Writeable'; } 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'; } ?> | +modules/ | +Writeable'; } elseif(!file_exists($path_to_root.'/lang/')) { 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'; } ?> |
Please note: |
- FrontAccounting is released under the
+ FrontAccounting is released under the
GNU General Public License
By clicking install, you are accepting the license. @@ -286,7 +283,7 @@ function change_os(type) { |