PHPTAL include path set if is set
authorJens Frank <jeluf@users.mediawiki.org>
Tue, 23 Mar 2004 22:20:21 +0000 (22:20 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Tue, 23 Mar 2004 22:20:21 +0000 (22:20 +0000)
config/index.php

index 04691f1..023852f 100644 (file)
@@ -658,6 +658,11 @@ if( \$wgCommandLineMode ) {
 \$wgLanguageCode = \"{$conf->LanguageCode}\";
 " . ($conf->Encoding ? "\$wgInputEncoding = \$wgOutputEncoding = \"{$conf->Encoding}\";" : "" ) . "
 
+\$wgUsePHPTAL = false;
+if ( \$wgUsePHPTAL ) {
+       ini_set( \"include_path\", \"\$IP/PHPTAL-NP-0.7.0/libs:\" . ini_get(\"include_path\") );
+}
+
 ";
 }
 
@@ -715,4 +720,4 @@ function getLanguageList() {
 ?>
 
 </body>
-</html>
\ No newline at end of file
+</html>