[mapguide-commits] r9949 - sandbox/jng/vanilla_swig/Web/src/schemareport

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Jun 23 05:37:22 PDT 2022


Author: jng
Date: 2022-06-23 05:37:21 -0700 (Thu, 23 Jun 2022)
New Revision: 9949

Modified:
   sandbox/jng/vanilla_swig/Web/src/schemareport/displayschema.php
   sandbox/jng/vanilla_swig/Web/src/schemareport/main.php
   sandbox/jng/vanilla_swig/Web/src/schemareport/showclass.php
   sandbox/jng/vanilla_swig/Web/src/schemareport/showgeom.php
Log:
Fix up schema report for PHP8 compatibility

Modified: sandbox/jng/vanilla_swig/Web/src/schemareport/displayschema.php
===================================================================
--- sandbox/jng/vanilla_swig/Web/src/schemareport/displayschema.php	2022-06-20 09:10:56 UTC (rev 9948)
+++ sandbox/jng/vanilla_swig/Web/src/schemareport/displayschema.php	2022-06-23 12:37:21 UTC (rev 9949)
@@ -17,7 +17,6 @@
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-    include '../mapadmin/constants.php';
     include 'stringconstants.php';
 ?>
 
@@ -39,6 +38,7 @@
             $schemaName = $_GET['schemaName'];
             $className = $_GET['className'];
             $viewer = $_GET['viewer'];
+            $firstSchema = "";
             $firstClass = "";
 
             try

Modified: sandbox/jng/vanilla_swig/Web/src/schemareport/main.php
===================================================================
--- sandbox/jng/vanilla_swig/Web/src/schemareport/main.php	2022-06-20 09:10:56 UTC (rev 9948)
+++ sandbox/jng/vanilla_swig/Web/src/schemareport/main.php	2022-06-23 12:37:21 UTC (rev 9949)
@@ -17,7 +17,6 @@
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-    include '../mapadmin/constants.php';
     include 'stringconstants.php';
 ?>
 
@@ -33,7 +32,7 @@
     <body>
 
         <?php
-
+            $sessionId = "";
             $username = "Administrator";
             $password = "admin";
 

Modified: sandbox/jng/vanilla_swig/Web/src/schemareport/showclass.php
===================================================================
--- sandbox/jng/vanilla_swig/Web/src/schemareport/showclass.php	2022-06-20 09:10:56 UTC (rev 9948)
+++ sandbox/jng/vanilla_swig/Web/src/schemareport/showclass.php	2022-06-23 12:37:21 UTC (rev 9949)
@@ -17,7 +17,6 @@
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-    include '../mapadmin/constants.php';
     include 'stringconstants.php';
     include 'displayschemafunctions.php';
 ?>

Modified: sandbox/jng/vanilla_swig/Web/src/schemareport/showgeom.php
===================================================================
--- sandbox/jng/vanilla_swig/Web/src/schemareport/showgeom.php	2022-06-20 09:10:56 UTC (rev 9948)
+++ sandbox/jng/vanilla_swig/Web/src/schemareport/showgeom.php	2022-06-23 12:37:21 UTC (rev 9949)
@@ -17,7 +17,6 @@
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-    include '../mapadmin/constants.php';
     include 'stringconstants.php';
     include 'displayschemafunctions.php';
     include 'layerdefinitionfactory.php';



More information about the mapguide-commits mailing list