Esempio n. 1
0
 function setSession()
 {
     /*		$session = JFactory::getSession();
     		$session->clear('vmconfig');
     		// 		$app = JFactory::getApplication();
     		// 		$app ->enqueueMessage('setSession session cache <pre>'.print_r(self::$_jpConfig->_params,1).'</pre>');
     
     // 		$session->set('vmconfig', base64_encode(serialize(self::$_jpConfig)),'vm');
     
     		//We must use base64 for text fields
     		$params = self::$_jpConfig->_params;
     		$params['offline_message'] = base64_encode($params['offline_message']);
     		// $params['dateformat'] = base64_encode($params['dateformat']);
     
     		$params['sctime'] = microtime(true);
     		$session->set('vmconfig', serialize($params),'vm');*/
     self::$loaded = TRUE;
 }