From: Jens Frank Date: Tue, 23 Mar 2004 22:20:21 +0000 (+0000) Subject: PHPTAL include path set if is set X-Git-Tag: 1.3.0beta1~712 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=54c57339bb356ad16d4008463fd2c4d855bcdf12;p=lhc%2Fweb%2Fwiklou.git PHPTAL include path set if is set --- diff --git a/config/index.php b/config/index.php index 04691f1823..023852fe3d 100644 --- a/config/index.php +++ b/config/index.php @@ -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() { ?> - \ No newline at end of file +