Project

General

Profile

« Previous | Next » 

Revision 19

Added by Manuela over 6 years ago

output_filter/filters/filterRelUrl little typo fixed

View differences:

version.php
43 43

  
44 44
/* -------------------------------------------------------- */
45 45
// Must include code to stop this file being accessed directly
46
if(defined('WB_PATH') == false) { die('Illegale file access /'.basename(__DIR__).'/'.basename(__FILE__).''); }
46
//if(!defined('WB_PATH')) { header("HTTP/1.0 404 Not Found"); flush(); }
47 47
/* -------------------------------------------------------- */
48

  
48
$sInfo = '
49
    VERSION  = "2.10.1-dev"
50
    REVISION = "19"
51
    SP       = ""
52
';
53
//$aIni = parse_ini_string($sInfo);
54
//foreach ($aIni as $item=>$value) {
55
foreach (parse_ini_string($sInfo) as $item=>$value) {
56
    if(!defined($item)) { define($item, $value); }
57
}
49 58
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
50 59
if(!defined('VERSION')) { define('VERSION', '2.10.1-dev'); }
51 60
if(!defined('REVISION')) { define('REVISION', '18'); }

Also available in: Unified diff