[Weberp-svn] SF.net SVN: weberp:[8835] trunk/includes/session.inc
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-05-08 11:12:22
|
Revision: 8835 http://weberp.svn.sourceforge.net/weberp/?rev=8835&view=rev Author: tim_schofield Date: 2012-05-08 11:12:16 +0000 (Tue, 08 May 2012) Log Message: ----------- Fix for incorrect relative path Modified Paths: -------------- trunk/includes/session.inc Modified: trunk/includes/session.inc =================================================================== --- trunk/includes/session.inc 2012-05-08 11:10:44 UTC (rev 8834) +++ trunk/includes/session.inc 2012-05-08 11:12:16 UTC (rev 8835) @@ -14,7 +14,7 @@ } include($PathPrefix . 'config.php'); -$DBVersion=HighestFileName(); +$DBVersion=HighestFileName($PathPrefix); if (isset($SessionSavePath)){ session_save_path($SessionSavePath); @@ -310,8 +310,8 @@ } } -function HighestFileName() { - if($handle=opendir('sql/mysql/updates')){ +function HighestFileName($PathPrefix) { + if($handle=opendir($PathPrefix . 'sql/mysql/updates')){ $i=0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |