[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.Template.inc.php,1.12.4.5
From: |
skwashd |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.Template.inc.php,1.12.4.5 |
Date: |
Wed, 8 Jun 2005 13:15:00 +0200 |
Update of phpgwapi/inc
Modified Files:
Branch: Version-0_9_16-branch
class.Template.inc.php lines: +2 -2
Log Message:
fix path fallback properly
====================================================
Index: phpgwapi/inc/class.Template.inc.php
diff -u phpgwapi/inc/class.Template.inc.php:1.12.4.4
phpgwapi/inc/class.Template.inc.php:1.12.4.5
--- phpgwapi/inc/class.Template.inc.php:1.12.4.4 Sat Nov 6 15:34:26 2004
+++ phpgwapi/inc/class.Template.inc.php Wed Jun 8 11:15:16 2005
@@ -381,7 +381,7 @@
}
else
{
- $new_root =
str_replace($GLOBALS['phpgw_info']['server']['template_set'],'default',$root);
+ $new_root = substr($root, 0, (0 -
strlen($GLOBALS['phpgw_info']['server']['template_set']))) . 'default';
$new_filename =
$this->filename(str_replace($root.'/','',$new_filename),$new_root,2);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.Template.inc.php,1.12.4.5,
skwashd <=