PHP8 fixes
authorAlan <alan@roojs.com>
Tue, 4 Apr 2023 06:15:43 +0000 (14:15 +0800)
committerAlan <alan@roojs.com>
Tue, 4 Apr 2023 06:15:43 +0000 (14:15 +0800)
HTML/FlexyFramework2.php
HTML/FlexyFramework2/Page.php
Mail/smtp.php

index e391358..4b34e3f 100644 (file)
@@ -68,7 +68,7 @@ error_reporting(E_ALL & ~E_STRICT );
 * it will try staging.ini
 *
 */
+#[AllowDynamicProperties]
 class HTML_FlexyFramework2 {
     
     /**
@@ -96,6 +96,7 @@ class HTML_FlexyFramework2 {
                 // use $this->run($_SERVER['REQUEST_URI'],false); to manually boot it..
 
     
+    var $isDev = false; // is development mode (can debug sql?)
     // derived.
     var $cli = false; // from cli 
     var $run = false; // from cli
@@ -116,7 +117,7 @@ class HTML_FlexyFramework2 {
     var $ext; // the striped extention.
     
     var $dataObjectsOriginalIni = ''; // 1 houre..
-    
     
     var $locale = 'en';
     // used to be $_GLOBALS[__CLASS__]
index 4775e51..36f019d 100644 (file)
@@ -149,6 +149,8 @@ class HTML_FlexyFramework2_Page  {
     var $bootLoader = false;
    
    
+    var $timer;
+    var $subrequest;
    
     /**
     * The default page handler
index ca79cb6..211db38 100644 (file)
@@ -179,6 +179,9 @@ class Mail_smtp extends Mail {
     
     
     var $socket_options = null;
+    
+    var  $greeting;
+    
     /**
      * Constructor.
      *