dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
734caee
)
Avoid PHP warning about undefined constant
author
Jens Frank
<jeluf@users.mediawiki.org>
Sun, 26 Sep 2004 09:51:41 +0000
(09:51 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Sun, 26 Sep 2004 09:51:41 +0000
(09:51 +0000)
includes/SkinPHPTal.php
patch
|
blob
|
history
diff --git
a/includes/SkinPHPTal.php
b/includes/SkinPHPTal.php
index
7280da3
..
a62db6c
100644
(file)
--- a/
includes/SkinPHPTal.php
+++ b/
includes/SkinPHPTal.php
@@
-131,7
+131,7
@@
class SkinPHPTal extends Skin {
* @access private
*/
function &setupTemplate( $file, $repository=false, $cache_dir=false ) {
- if( NEW_PHPTAL ) {
+ if(
defined( 'NEW_PHPTAL' ) &&
NEW_PHPTAL ) {
return new PHPTAL_version_bridge( $file, $repository, $cache_dir );
} else {
return new PHPTAL( $file, $repository, $cache_dir );