[Cs-webapplibs-commits] SF.net SVN: cs-webapplibs:[160] trunk/0.3
Status: Beta
                
                Brought to you by:
                
                    crazedsanity
                    
                
            | 
      
      
      From: <cra...@us...> - 2010-05-13 18:16:16
      
     | 
| Revision: 160
          http://cs-webapplibs.svn.sourceforge.net/cs-webapplibs/?rev=160&view=rev
Author:   crazedsanity
Date:     2010-05-13 18:16:07 +0000 (Thu, 13 May 2010)
Log Message:
-----------
Stop passing some variables by reference to avoid some PHP errors (pass-by-reference isn't really supported like that anymore).
Modified Paths:
--------------
    trunk/0.3/cs_siteConfig.class.php
    trunk/0.3/cs_webdbupgrade.class.php
Modified: trunk/0.3/cs_siteConfig.class.php
===================================================================
--- trunk/0.3/cs_siteConfig.class.php	2010-03-09 19:08:59 UTC (rev 159)
+++ trunk/0.3/cs_siteConfig.class.php	2010-05-13 18:16:07 UTC (rev 160)
@@ -259,7 +259,7 @@
 			$this->isInitialized=true;
 			
 			if(count($this->setGlobalArrays)) {
-				$globA2p = new cs_arrayToPath(&$GLOBALS);
+				$globA2p = new cs_arrayToPath($GLOBALS);
 				foreach($this->setGlobalArrays as $configPath=>$globalsPath) {
 					if($this->a2p->get_data($configPath)) {
 						$setMe = array();
Modified: trunk/0.3/cs_webdbupgrade.class.php
===================================================================
--- trunk/0.3/cs_webdbupgrade.class.php	2010-03-09 19:08:59 UTC (rev 159)
+++ trunk/0.3/cs_webdbupgrade.class.php	2010-05-13 18:16:07 UTC (rev 160)
@@ -858,7 +858,7 @@
 			$this->tempXmlConfig = array();
 		}
 		try {
-			$myA2p = new cs_arrayToPath(&$this->tempXmlConfig);
+			$myA2p = new cs_arrayToPath($this->tempXmlConfig);
 		}
 		catch(exception $e) {
 			$this->do_log(__METHOD__ .': encountered exception: '. $e->getMessage());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
 |