chdir( "config" );
print "<li>Installation directory: <tt>" . htmlspecialchars( $conf->IP ) . "</tt></li>\n";
-@$oldpath = ini_set( "include_path", ini_get( "include_path" ) );
-if( empty( $oldpath ) ) {
- print "<li>Can't set <tt>include_path</tt>; new template layout will be disabled.</li>\n";
-}
-
# $conf->ScriptPath = "/~brion/inplace";
$conf->ScriptPath = preg_replace( '{^(.*)/config.*$}', '$1', $_SERVER["REQUEST_URI"] );
print "<li>Script URI path: <tt>" . htmlspecialchars( $conf->ScriptPath ) . "</tt></li>\n";
$wgUseImageMagick = false;
$wgImageMagickConvertCommand = "/usr/bin/convert";
-# PHPTal needs a PEAR directory in the include_path. If we can't change the
-# include_path (such as on free.fr and other hosts) we may have to disable it.
$wgUsePHPTal = true;
-$pathchange = @ini_set( "include_path", "PHPTAL-NP-0.7.0/libs:" . ini_get("include_path") );
-if( empty( $pathchange ) ) {
- # Can't fix path! User can manually enable it again if they put the files
- # in an appropriate place.
- $wgUsePHPTal = false;
-}
-
if( !isset( $wgCommandLineMode ) ) {
$wgCommandLineMode = false;