[pLog-svn] r6498 - plog/branches/lifetype-1.2/class/template
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Fri May 30 18:32:18 EDT 2008
Author: jondaley
Date: 2008-05-30 18:32:18 -0400 (Fri, 30 May 2008)
New Revision: 6498
Modified:
plog/branches/lifetype-1.2/class/template/templateservice.class.php
Log:
make temp folder path absolute to help out the folks using the API. http://bugs.lifetype.net/view.php?id=1415
Modified: plog/branches/lifetype-1.2/class/template/templateservice.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/template/templateservice.class.php 2008-05-30 12:53:11 UTC (rev 6497)
+++ plog/branches/lifetype-1.2/class/template/templateservice.class.php 2008-05-30 22:32:18 UTC (rev 6498)
@@ -301,6 +301,8 @@
// change a few things...
$config =& Config::getConfig();
$tmpFolder = $config->getValue( 'temp_folder' );
+ if (strpos($tmpFolder,'.') === 0)
+ $tmpFolder = rtrim(PLOG_CLASS_PATH,'/').ltrim($tmpFolder,'.');
if( $blogInfo == null )
$blogTmpFolder = $tmpFolder;
else {
More information about the pLog-svn
mailing list