1ed7b5f09Sandi<?php 2ed7b5f09Sandi/** 3ed7b5f09Sandi * Initialize some defaults needed for DokuWiki 4ed7b5f09Sandi */ 5ed7b5f09Sandi 6a609a9ccSBen Coburn // start timing Dokuwiki execution 7a609a9ccSBen Coburn function delta_time($start=0) { 8a609a9ccSBen Coburn list($usec, $sec) = explode(" ", microtime()); 9a609a9ccSBen Coburn return ((float)$usec+(float)$sec)-((float)$start); 10a609a9ccSBen Coburn } 11a609a9ccSBen Coburn define('DOKU_START_TIME', delta_time()); 12a609a9ccSBen Coburn 13ed7b5f09Sandi // define the include path 14ed7b5f09Sandi if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/'); 15ad15db82Sandi 16e7cb32dcSAndreas Gohr // define config path (packagers may want to change this to /etc/dokuwiki/) 17b7551a6dSEsther Brunner if(!defined('DOKU_CONF')) define('DOKU_CONF',DOKU_INC.'conf/'); 18e7cb32dcSAndreas Gohr 19bad905f1SBen Coburn // check for error reporting override or set error reporting to sane values 20d8186216SBen Coburn if (!defined('DOKU_E_LEVEL') && @file_exists(DOKU_CONF.'report_e_all')) { 21bad905f1SBen Coburn define('DOKU_E_LEVEL', E_ALL); 22bad905f1SBen Coburn } 23bad905f1SBen Coburn if (!defined('DOKU_E_LEVEL')) { error_reporting(E_ALL ^ E_NOTICE); } 24bad905f1SBen Coburn else { error_reporting(DOKU_E_LEVEL); } 25c53ea5f2Sandi 2650602150SBen Coburn // init memory caches 27bc3e97beSAndreas Gohr global $cache_revinfo; $cache_revinfo = array(); 28bc3e97beSAndreas Gohr global $cache_wikifn; $cache_wikifn = array(); 29a424cd8eSchris global $cache_cleanid; $cache_cleanid = array(); 30a424cd8eSchris global $cache_authname; $cache_authname = array(); 310a7e3bceSchris global $cache_metadata; $cache_metadata = array(); 3250602150SBen Coburn 334724a577Sandi //prepare config array() 34ee20e7d1Sandi global $conf; 3503c4aec3Schris if (!defined('DOKU_UNITTEST')) { 364724a577Sandi $conf = array(); 374724a577Sandi 38ad15db82Sandi // load the config file(s) 39e7cb32dcSAndreas Gohr require_once(DOKU_CONF.'dokuwiki.php'); 400a6ead41SAndreas Gohr if(@file_exists(DOKU_CONF.'local.php')){ 410a6ead41SAndreas Gohr require_once(DOKU_CONF.'local.php'); 420a6ead41SAndreas Gohr } 4303c4aec3Schris } 44ad15db82Sandi 45ad15db82Sandi //prepare language array 46ee20e7d1Sandi global $lang; 47ad15db82Sandi $lang = array(); 48ed7b5f09Sandi 4916521111Sandi //load the language files 50bc3b6aecSandi require_once(DOKU_INC.'inc/lang/en/lang.php'); 51f949a01cSAndreas Gohr if ( $conf['lang'] && $conf['lang'] != 'en' ) { 52bc3b6aecSandi require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php'); 53fc1c55b1Shfuecks } 5416521111Sandi 55ed7b5f09Sandi // define baseURL 56*4b1a4e04SAndreas Gohr if(!defined('DOKU_REL')) define('DOKU_REL',getBaseURL(false)); 57ed7b5f09Sandi if(!defined('DOKU_URL')) define('DOKU_URL',getBaseURL(true)); 58*4b1a4e04SAndreas Gohr if(!defined('DOKU_BASE')){ 59*4b1a4e04SAndreas Gohr if($conf['canonical']){ 60*4b1a4e04SAndreas Gohr define('DOKU_BASE',DOKU_URL); 61*4b1a4e04SAndreas Gohr }else{ 62*4b1a4e04SAndreas Gohr define('DOKU_BASE',DOKU_REL); 63*4b1a4e04SAndreas Gohr } 64*4b1a4e04SAndreas Gohr } 65*4b1a4e04SAndreas Gohr 66ed7b5f09Sandi 67e71ce681SAndreas Gohr // define cookie and session id 68e71ce681SAndreas Gohr if (!defined('DOKU_COOKIE')) define('DOKU_COOKIE', 'DW'.md5(DOKU_URL)); 69e71ce681SAndreas Gohr 70ee20e7d1Sandi // define Plugin dir 71f62ea8a1Sandi if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); 72ee20e7d1Sandi 73ed7b5f09Sandi // define main script 74ed7b5f09Sandi if(!defined('DOKU_SCRIPT')) define('DOKU_SCRIPT','doku.php'); 75ed7b5f09Sandi 766b13307fSandi // define Template baseURL 776b13307fSandi if(!defined('DOKU_TPL')) define('DOKU_TPL', 78f62ea8a1Sandi DOKU_BASE.'lib/tpl/'.$conf['template'].'/'); 796b13307fSandi 8078a6aeb1SAndreas Gohr // define real Template directory 8178a6aeb1SAndreas Gohr if(!defined('DOKU_TPLINC')) define('DOKU_TPLINC', 8278a6aeb1SAndreas Gohr DOKU_INC.'lib/tpl/'.$conf['template'].'/'); 8378a6aeb1SAndreas Gohr 84ed7b5f09Sandi // make session rewrites XHTML compliant 853fc74836Sandi @ini_set('arg_separator.output', '&'); 86ed7b5f09Sandi 87d7e6bba9SAndreas Gohr // make sure global zlib does not interfere FS#1132 88d7e6bba9SAndreas Gohr @ini_set('zlib.output_compression', 'off'); 89d7e6bba9SAndreas Gohr 903138b5c7SAndreas Gohr // enable gzip compression 913138b5c7SAndreas Gohr if ($conf['gzip_output'] && 923138b5c7SAndreas Gohr !defined('DOKU_DISABLE_GZIP_OUTPUT') && 933138b5c7SAndreas Gohr function_exists('ob_gzhandler') && 943138b5c7SAndreas Gohr preg_match('/gzip|deflate/', $_SERVER['HTTP_ACCEPT_ENCODING'])) { 953138b5c7SAndreas Gohr ob_start('ob_gzhandler'); 963138b5c7SAndreas Gohr } 973138b5c7SAndreas Gohr 98ed7b5f09Sandi // init session 996534245aSAndreas Gohr if (!headers_sent() && !defined('NOSESSION')){ 100ed7b5f09Sandi session_name("DokuWiki"); 101*4b1a4e04SAndreas Gohr session_set_cookie_params(0, DOKU_REL); 102bad31ae9SAndreas Gohr session_start(); 103bad31ae9SAndreas Gohr } 104ed7b5f09Sandi 105ed7b5f09Sandi // kill magic quotes 106e55eb89cSAndreas Gohr if (get_magic_quotes_gpc() && !defined('MAGIC_QUOTES_STRIPPED')) { 107ed7b5f09Sandi if (!empty($_GET)) remove_magic_quotes($_GET); 108ed7b5f09Sandi if (!empty($_POST)) remove_magic_quotes($_POST); 109ed7b5f09Sandi if (!empty($_COOKIE)) remove_magic_quotes($_COOKIE); 110ed7b5f09Sandi if (!empty($_REQUEST)) remove_magic_quotes($_REQUEST); 1113fc74836Sandi @ini_set('magic_quotes_gpc', 0); 112e55eb89cSAndreas Gohr define('MAGIC_QUOTES_STRIPPED',1); 113ed7b5f09Sandi } 1143fc74836Sandi @set_magic_quotes_runtime(0); 1153fc74836Sandi @ini_set('magic_quotes_sybase',0); 116ed7b5f09Sandi 117a1637ffdSAndreas Gohr // don't let cookies ever interfere with request vars 118a1637ffdSAndreas Gohr $_REQUEST = array_merge($_GET,$_POST); 119a1637ffdSAndreas Gohr 120ed7b5f09Sandi // disable gzip if not available 1218a447e5cSAndreas Gohr if($conf['compression'] == 'bz2' && !function_exists('bzopen')){ 122fe893490SAndreas Gohr $conf['compression'] = 'gz'; 123501252a5SAndreas Gohr } 124fe893490SAndreas Gohr if($conf['compression'] == 'gz' && !function_exists('gzopen')){ 125501252a5SAndreas Gohr $conf['compression'] = 0; 126ed7b5f09Sandi } 127ed7b5f09Sandi 1281ca31cfeSAndreas Gohr // precalculate file creation modes 1291ca31cfeSAndreas Gohr init_creationmodes(); 130ed7b5f09Sandi 1313dc3a5f1Sandi // make real paths and check them 13298407a7aSandi init_paths(); 1337367b368SAndreas Gohr init_files(); 134ed7b5f09Sandi 1358c4f28e8Sjan // automatic upgrade to script versions of certain files 136e7cb32dcSAndreas Gohr scriptify(DOKU_CONF.'users.auth'); 137e7cb32dcSAndreas Gohr scriptify(DOKU_CONF.'acl.auth'); 138f62ea8a1Sandi 139f62ea8a1Sandi 140f62ea8a1Sandi/** 14198407a7aSandi * Checks paths from config file 14298407a7aSandi */ 14398407a7aSandifunction init_paths(){ 14498407a7aSandi global $conf; 14598407a7aSandi 14698407a7aSandi $paths = array('datadir' => 'pages', 14798407a7aSandi 'olddir' => 'attic', 14898407a7aSandi 'mediadir' => 'media', 14998407a7aSandi 'metadir' => 'meta', 15098407a7aSandi 'cachedir' => 'cache', 151579b0f7eSTNHarris 'indexdir' => 'index', 15271726d78SBen Coburn 'lockdir' => 'locks'); 15398407a7aSandi 15498407a7aSandi foreach($paths as $c => $p){ 155bb4866bdSchris if(empty($conf[$c])) $conf[$c] = $conf['savedir'].'/'.$p; 15698407a7aSandi $conf[$c] = init_path($conf[$c]); 1571983acc2SGuy Brand if(empty($conf[$c])) nice_die("The $c ('$p') does not exist, isn't accessible or writable. 15869dc3177SAndreas Gohr You should check your config and permission settings. 15969dc3177SAndreas Gohr Or maybe you want to <a href=\"install.php\">run the 16069dc3177SAndreas Gohr installer</a>?"); 16198407a7aSandi } 16271726d78SBen Coburn 16371726d78SBen Coburn // path to old changelog only needed for upgrading 16471726d78SBen Coburn $conf['changelog_old'] = init_path((isset($conf['changelog']))?($conf['changelog']):($conf['savedir'].'/changes.log')); 16571726d78SBen Coburn if ($conf['changelog_old']=='') { unset($conf['changelog_old']); } 16671726d78SBen Coburn // hardcoded changelog because it is now a cache that lives in meta 16771726d78SBen Coburn $conf['changelog'] = $conf['metadir'].'/_dokuwiki.changes'; 16898407a7aSandi} 16998407a7aSandi 17098407a7aSandi/** 1710d8850c4SAndreas Gohr * Checks the existance of certain files and creates them if missing. 1727367b368SAndreas Gohr */ 1737367b368SAndreas Gohrfunction init_files(){ 1747367b368SAndreas Gohr global $conf; 1750d8850c4SAndreas Gohr 176579b0f7eSTNHarris $files = array( $conf['indexdir'].'/page.idx'); 1777367b368SAndreas Gohr 1787367b368SAndreas Gohr foreach($files as $file){ 1797367b368SAndreas Gohr if(!@file_exists($file)){ 1800d8850c4SAndreas Gohr $fh = @fopen($file,'a'); 1810d8850c4SAndreas Gohr if($fh){ 1827367b368SAndreas Gohr fclose($fh); 1831ca31cfeSAndreas Gohr if($conf['fperm']) chmod($file, $conf['fperm']); 1840d8850c4SAndreas Gohr }else{ 1853816dcbcSAndreas Gohr nice_die("$file is not writable. Check your permissions settings!"); 1860d8850c4SAndreas Gohr } 1877367b368SAndreas Gohr } 1887367b368SAndreas Gohr } 1897367b368SAndreas Gohr} 1907367b368SAndreas Gohr 1917367b368SAndreas Gohr/** 1920d8850c4SAndreas Gohr * Returns absolute path 193f62ea8a1Sandi * 1940d8850c4SAndreas Gohr * This tries the given path first, then checks in DOKU_INC. 1950d8850c4SAndreas Gohr * Check for accessability on directories as well. 1960d8850c4SAndreas Gohr * 1970d8850c4SAndreas Gohr * @author Andreas Gohr <andi@splitbrain.org> 198f62ea8a1Sandi */ 199f62ea8a1Sandifunction init_path($path){ 2000d8850c4SAndreas Gohr // check existance 201f62ea8a1Sandi $p = realpath($path); 2020d8850c4SAndreas Gohr if(!@file_exists($p)){ 203f62ea8a1Sandi $p = realpath(DOKU_INC.$path); 2040d8850c4SAndreas Gohr if(!@file_exists($p)){ 2058fc4e739Sandi return ''; 206f62ea8a1Sandi } 2070d8850c4SAndreas Gohr } 2080d8850c4SAndreas Gohr 2090d8850c4SAndreas Gohr // check writability 2100d8850c4SAndreas Gohr if(!@is_writable($p)){ 2110d8850c4SAndreas Gohr return ''; 2120d8850c4SAndreas Gohr } 2130d8850c4SAndreas Gohr 2140d8850c4SAndreas Gohr // check accessability (execute bit) for directories 2150d8850c4SAndreas Gohr if(@is_dir($p) && !@file_exists("$p/.")){ 2160d8850c4SAndreas Gohr return ''; 2170d8850c4SAndreas Gohr } 2180d8850c4SAndreas Gohr 2190d8850c4SAndreas Gohr return $p; 2200d8850c4SAndreas Gohr} 2218c4f28e8Sjan 222ed7b5f09Sandi/** 2231ca31cfeSAndreas Gohr * Sets the internal config values fperm and dperm which, when set, 2241ca31cfeSAndreas Gohr * will be used to change the permission of a newly created dir or 2251ca31cfeSAndreas Gohr * file with chmod. Considers the influence of the system's umask 2261ca31cfeSAndreas Gohr * setting the values only if needed. 2271ca31cfeSAndreas Gohr */ 2281ca31cfeSAndreas Gohrfunction init_creationmodes(){ 2291ca31cfeSAndreas Gohr global $conf; 2301ca31cfeSAndreas Gohr 2311ca31cfeSAndreas Gohr // Legacy support for old umask/dmask scheme 2321ca31cfeSAndreas Gohr unset($conf['dmask']); 2331ca31cfeSAndreas Gohr unset($conf['fmask']); 2341ca31cfeSAndreas Gohr unset($conf['umask']); 2351ca31cfeSAndreas Gohr unset($conf['fperm']); 2361ca31cfeSAndreas Gohr unset($conf['dperm']); 2371ca31cfeSAndreas Gohr 2389f3cdec3SAndreas Gohr // get system umask, fallback to 0 if none available 2399f3cdec3SAndreas Gohr $umask = @umask(); 2409f3cdec3SAndreas Gohr if(!$umask) $umask = 0000; 2411ca31cfeSAndreas Gohr 2421ca31cfeSAndreas Gohr // check what is set automatically by the system on file creation 2431ca31cfeSAndreas Gohr // and set the fperm param if it's not what we want 2441ca31cfeSAndreas Gohr $auto_fmode = 0666 & ~$umask; 2451ca31cfeSAndreas Gohr if($auto_fmode != $conf['fmode']) $conf['fperm'] = $conf['fmode']; 2461ca31cfeSAndreas Gohr 2471ca31cfeSAndreas Gohr // check what is set automatically by the system on file creation 2481ca31cfeSAndreas Gohr // and set the dperm param if it's not what we want 2491ca31cfeSAndreas Gohr $auto_dmode = $conf['dmode'] & ~$umask; 2501ca31cfeSAndreas Gohr if($auto_dmode != $conf['dmode']) $conf['dperm'] = $conf['dmode']; 2511ca31cfeSAndreas Gohr} 2521ca31cfeSAndreas Gohr 2531ca31cfeSAndreas Gohr/** 254ed7b5f09Sandi * remove magic quotes recursivly 255ed7b5f09Sandi * 256ed7b5f09Sandi * @author Andreas Gohr <andi@splitbrain.org> 257ed7b5f09Sandi */ 258ed7b5f09Sandifunction remove_magic_quotes(&$array) { 259ed7b5f09Sandi foreach (array_keys($array) as $key) { 260ed7b5f09Sandi if (is_array($array[$key])) { 261ed7b5f09Sandi remove_magic_quotes($array[$key]); 262ed7b5f09Sandi }else { 263ed7b5f09Sandi $array[$key] = stripslashes($array[$key]); 264ed7b5f09Sandi } 265ed7b5f09Sandi } 266ed7b5f09Sandi} 267ed7b5f09Sandi 268ed7b5f09Sandi/** 269ed7b5f09Sandi * Returns the full absolute URL to the directory where 270ed7b5f09Sandi * DokuWiki is installed in (includes a trailing slash) 271ed7b5f09Sandi * 272ed7b5f09Sandi * @author Andreas Gohr <andi@splitbrain.org> 273ed7b5f09Sandi */ 274*4b1a4e04SAndreas Gohrfunction getBaseURL($abs=null){ 275ed7b5f09Sandi global $conf; 276ed7b5f09Sandi //if canonical url enabled always return absolute 277*4b1a4e04SAndreas Gohr if(is_null($abs)) $abs = $conf['canonical']; 278ed7b5f09Sandi 27992b83b77Sandi if($conf['basedir']){ 280919eeb46Sandi $dir = $conf['basedir'].'/'; 28189aa05dbSAndreas Gohr }elseif(substr($_SERVER['SCRIPT_NAME'],-4) == '.php'){ 282bdc127a4Sandi $dir = dirname($_SERVER['SCRIPT_NAME']).'/'; 28389aa05dbSAndreas Gohr }elseif(substr($_SERVER['PHP_SELF'],-4) == '.php'){ 28489aa05dbSAndreas Gohr $dir = dirname($_SERVER['PHP_SELF']).'/'; 285093ec9e4Sandi }elseif($_SERVER['DOCUMENT_ROOT'] && $_SERVER['SCRIPT_FILENAME']){ 286093ec9e4Sandi $dir = preg_replace ('/^'.preg_quote($_SERVER['DOCUMENT_ROOT'],'/').'/','', 287093ec9e4Sandi $_SERVER['SCRIPT_FILENAME']); 288093ec9e4Sandi $dir = dirname('/'.$dir).'/'; 28992b83b77Sandi }else{ 29089aa05dbSAndreas Gohr $dir = './'; //probably wrong 29192b83b77Sandi } 292ed7b5f09Sandi 293ed7b5f09Sandi $dir = str_replace('\\','/',$dir); #bugfix for weird WIN behaviour 294ed7b5f09Sandi $dir = preg_replace('#//+#','/',$dir); 295ed7b5f09Sandi 296f62ea8a1Sandi //handle script in lib/exe dir 297f62ea8a1Sandi $dir = preg_replace('!lib/exe/$!','',$dir); 298f62ea8a1Sandi 299488d5fa0SMichael Klier chi@chimeric.de //handle script in lib/plugins dir 300488d5fa0SMichael Klier chi@chimeric.de $dir = preg_replace('!lib/plugins/.*$!','',$dir); 301488d5fa0SMichael Klier chi@chimeric.de 302ed7b5f09Sandi //finish here for relative URLs 303ed7b5f09Sandi if(!$abs) return $dir; 304ed7b5f09Sandi 305ef7b3ecdSAndreas Gohr //use config option if available 306ef7b3ecdSAndreas Gohr if($conf['baseurl']) return $conf['baseurl'].$dir; 307ef7b3ecdSAndreas Gohr 308e82e3526SAndreas Gohr //split hostheader into host and port 309e82e3526SAndreas Gohr list($host,$port) = explode(':',$_SERVER['HTTP_HOST']); 310e82e3526SAndreas Gohr if(!$port) $port = $_SERVER['SERVER_PORT']; 311e82e3526SAndreas Gohr if(!$port) $port = 80; 312ed7b5f09Sandi 313ed7b5f09Sandi // see if HTTPS is enabled - apache leaves this empty when not available, 314ed7b5f09Sandi // IIS sets it to 'off', 'false' and 'disabled' are just guessing 315ed7b5f09Sandi if (preg_match('/^(|off|false|disabled)$/i',$_SERVER['HTTPS'])){ 316ed7b5f09Sandi $proto = 'http://'; 317e82e3526SAndreas Gohr if ($port == '80') { 318ed7b5f09Sandi $port=''; 319ed7b5f09Sandi } 320ed7b5f09Sandi }else{ 321ed7b5f09Sandi $proto = 'https://'; 322e82e3526SAndreas Gohr if ($port == '443') { 323ed7b5f09Sandi $port=''; 324ed7b5f09Sandi } 325ed7b5f09Sandi } 326ed7b5f09Sandi 327e82e3526SAndreas Gohr if($port) $port = ':'.$port; 328e82e3526SAndreas Gohr 329ed7b5f09Sandi return $proto.$host.$port.$dir; 330ed7b5f09Sandi} 331ed7b5f09Sandi 332b000c6d4Sandi/** 333b000c6d4Sandi * Append a PHP extension to a given file and adds an exit call 334b000c6d4Sandi * 335b000c6d4Sandi * This is used to migrate some old configfiles. An added PHP extension 336b000c6d4Sandi * ensures the contents are not shown to webusers even if .htaccess files 337b000c6d4Sandi * do not work 338b000c6d4Sandi * 339b000c6d4Sandi * @author Jan Decaluwe <jan@jandecaluwe.com> 340b000c6d4Sandi */ 3418c4f28e8Sjanfunction scriptify($file) { 3428c4f28e8Sjan // checks 3438c4f28e8Sjan if (!is_readable($file)) { 3448c4f28e8Sjan return; 3458c4f28e8Sjan } 3468c4f28e8Sjan $fn = $file.'.php'; 3478c4f28e8Sjan if (@file_exists($fn)) { 3488c4f28e8Sjan return; 3498c4f28e8Sjan } 3508c4f28e8Sjan $fh = fopen($fn, 'w'); 3518c4f28e8Sjan if (!$fh) { 3523816dcbcSAndreas Gohr nice_die($fn.' is not writable. Check your permission settings!'); 3538c4f28e8Sjan } 3548c4f28e8Sjan // write php exit hack first 3558c4f28e8Sjan fwrite($fh, "# $fn\n"); 3568c4f28e8Sjan fwrite($fh, '# <?php exit()?>'."\n"); 3578c4f28e8Sjan fwrite($fh, "# Don't modify the lines above\n"); 3588c4f28e8Sjan fwrite($fh, "#\n"); 3598c4f28e8Sjan // copy existing lines 3608c4f28e8Sjan $lines = file($file); 3618c4f28e8Sjan foreach ($lines as $line){ 3628c4f28e8Sjan fwrite($fh, $line); 3638c4f28e8Sjan } 3643ba793e2Sandi fclose($fh); 365b000c6d4Sandi //try to rename the old file 3663aee4c27SAndreas Gohr io_rename($file,"$file.old"); 3678c4f28e8Sjan} 3688c4f28e8Sjan 3693816dcbcSAndreas Gohr/** 3703816dcbcSAndreas Gohr * print a nice message even if no styles are loaded yet. 3713816dcbcSAndreas Gohr */ 3723816dcbcSAndreas Gohrfunction nice_die($msg){ 3733816dcbcSAndreas Gohr echo<<<EOT 3743816dcbcSAndreas Gohr <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 3753816dcbcSAndreas Gohr "http://www.w3.org/TR/html4/loose.dtd"> 3763816dcbcSAndreas Gohr <html> 3773816dcbcSAndreas Gohr <head><title>DokuWiki Setup Error</title></head> 3783816dcbcSAndreas Gohr <body style="font-family: Arial, sans-serif"> 3793816dcbcSAndreas Gohr <div style="width:60%; margin: auto; background-color: #fcc; 3803816dcbcSAndreas Gohr border: 1px solid #faa; padding: 0.5em 1em;"> 3813816dcbcSAndreas Gohr <h1 style="font-size: 120%">DokuWiki Setup Error</h1> 3823816dcbcSAndreas Gohr <p>$msg</p> 3833816dcbcSAndreas Gohr </div> 3843816dcbcSAndreas Gohr </body> 3853816dcbcSAndreas Gohr </html> 3863816dcbcSAndreas GohrEOT; 3873816dcbcSAndreas Gohr exit; 3883816dcbcSAndreas Gohr} 3893816dcbcSAndreas Gohr 390ed7b5f09Sandi 391340756e4Sandi//Setup VIM: ex: et ts=2 enc=utf-8 : 392