From: <var...@us...> - 2011-04-13 13:10:19
|
Revision: 8043 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8043&view=rev Author: vargenau Date: 2011-04-13 13:10:09 +0000 (Wed, 13 Apr 2011) Log Message: ----------- No warning needed Modified Paths: -------------- trunk/lib/DbSession/SQL.php Modified: trunk/lib/DbSession/SQL.php =================================================================== --- trunk/lib/DbSession/SQL.php 2011-04-13 13:02:42 UTC (rev 8042) +++ trunk/lib/DbSession/SQL.php 2011-04-13 13:10:09 UTC (rev 8043) @@ -107,8 +107,7 @@ //if (preg_match('|^[a-zA-Z0-9/+=]+$|', $res)) $res = base64_decode($res); if (strlen($res) > 4000) { - trigger_error("Overlarge session data! ".strlen($res). - " gt. 4000", E_USER_WARNING); + // trigger_error("Overlarge session data! ".strlen($res). " gt. 4000", E_USER_WARNING); $res = preg_replace('/s:6:"_cache";O:12:"WikiDB_cache".+}$/',"",$res); $res = preg_replace('/s:12:"_cached_html";s:.+",s:4:"hits"/','s:4:"hits"',$res); if (strlen($res) > 4000) $res = ''; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-07-17 15:43:07
|
Revision: 8980 http://sourceforge.net/p/phpwiki/code/8980 Author: vargenau Date: 2014-07-17 15:42:59 +0000 (Thu, 17 Jul 2014) Log Message: ----------- Use public when needed Modified Paths: -------------- trunk/lib/DbSession/SQL.php Modified: trunk/lib/DbSession/SQL.php =================================================================== --- trunk/lib/DbSession/SQL.php 2014-07-17 15:34:47 UTC (rev 8979) +++ trunk/lib/DbSession/SQL.php 2014-07-17 15:42:59 UTC (rev 8980) @@ -71,7 +71,7 @@ * @return boolean true just a variable to notify PHP that everything * is good. */ - private function open($save_path, $session_name) + public function open($save_path, $session_name) { //$this->log("_open($save_path, $session_name)"); return true; @@ -85,7 +85,7 @@ * @return boolean true just a variable to notify PHP that everything * is good. */ - private function close() + public function close() { //$this->log("_close()"); return true; @@ -97,7 +97,7 @@ * @param string $id an id of current session * @return string */ - private function read($id) + public function read($id) { //$this->log("_read($id)"); $dbh = $this->_connect(); @@ -136,7 +136,7 @@ * @return boolean true if data saved successfully and false * otherwise. */ - private function write($id, $sess_data) + public function write($id, $sess_data) { if (defined("WIKI_XMLRPC") or defined("WIKI_SOAP")) return false; @@ -186,7 +186,7 @@ * @param string $id * @return boolean true */ - private function destroy($id) + public function destroy($id) { $dbh = $this->_connect(); $table = $this->_table; @@ -204,7 +204,7 @@ * @param int $maxlifetime session's time to live. * @return boolean true */ - private function gc($maxlifetime) + public function gc($maxlifetime) { $dbh = $this->_connect(); $table = $this->_table; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-12-05 13:12:56
|
Revision: 9422 http://sourceforge.net/p/phpwiki/code/9422 Author: vargenau Date: 2014-12-05 13:12:53 +0000 (Fri, 05 Dec 2014) Log Message: ----------- Fix comment Modified Paths: -------------- trunk/lib/DbSession/SQL.php Modified: trunk/lib/DbSession/SQL.php =================================================================== --- trunk/lib/DbSession/SQL.php 2014-12-05 12:44:18 UTC (rev 9421) +++ trunk/lib/DbSession/SQL.php 2014-12-05 13:12:53 UTC (rev 9422) @@ -19,8 +19,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -/* - * Copyright 2005 $ThePhpWikiProgrammingTeam +/** + * DB sessions for pear DB * * History * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |