Changed Advanced Manufacturing payments to be more flexible and simpler. Removed...
[fa-stable.git] / install / index.php
index 221d207c38ce6a2844ad721a15f1b4ee03729e7f..99d810a1ce96e30f5b418d5fe742076075b3f68b 100644 (file)
@@ -1,4 +1,14 @@
 <?php
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU General Public License, GPL, 
+       as published by the Free Software Foundation, either version 3 
+       of the License, or (at your option) any later version.
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+    See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
+***********************************************************************/
 error_reporting(E_ALL);
 ini_set("display_errors", "On");
 // Start a session
@@ -121,6 +131,30 @@ function change_os(type) {
                                ?>
                        </td>
                </tr>
+               <?php if (substr(php_sapi_name(), 0, 3) == 'cgi') {     ?>
+               <tr>
+                       <td width="140" style="color: #666666;">Magic Quotes GPC</td>
+                       <td width="35">
+                               <?php
+                               if(ini_get('magic_quotes_gpc')) {
+                                       echo '<font class="bad">Enabled</font>';
+                               } else {
+                                       echo '<font class="good">Disabled</font>';
+                               }
+                               ?>
+                       </td>
+                       <td width="140" style="color: #666666;">Register Globals</td>
+                       <td width="35">
+                               <?php
+                               if (ini_get('register_globals')) {
+                                       echo '<font class="bad">Enabled</font>';
+                               } else {
+                                       echo '<font class="good">Disabled</font>';
+                               }
+                               ?>
+                       </td>
+               </tr>
+               <?php } ?>
                </table>
                <table cellpadding="3" cellspacing="0" width="100%" align="center">
                <tr>
@@ -271,9 +305,8 @@ function change_os(type) {
                                        <td>Please note: &nbsp;</td>
                                        <td>
                                                FrontAccounting is released under the
-                                               <a href="http://www.gnu.org/licenses/gpl.html" target="_blank" tabindex="19">GNU General Public License</a>
-                                               <br />
-                                               By clicking install, you are accepting the license.
+                                               <a href="http://www.gnu.org/licenses/gpl-3.0.html" target="_blank" tabindex="19">GNU General Public License.</a> By 
+                                               clicking install, you are accepting the license.
                                        </td>
                                </tr>
                                </table>
@@ -296,7 +329,7 @@ function change_os(type) {
                <!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
                <a href="http://frontaccounting.com/" style="color: #000000;" target="_blank">FrontAccounting</a>
                is      released under the
-               <a href="http://www.gnu.org/licenses/gpl.html" style="color: #000000;" target="_blank">GNU General Public License</a>
+               <a href="http://www.gnu.org/licenses/gpl-3.0.html" style="color: #000000;" target="_blank">GNU General Public License</a>
                <!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
        </td>
 </tr>