Revision 531
Added by doc almost 17 years ago
version.php | ||
---|---|---|
36 | 36 |
exit(0); |
37 | 37 |
} |
38 | 38 |
|
39 |
define('VERSION', '2.6.7'); |
|
39 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
|
40 |
if(!defined('VERSION')) define('VERSION', '2.7'); |
|
40 | 41 |
|
41 | 42 |
?> |
Also available in: Unified diff
Fixed error with redirection to admin panel after installation due to already defined constant VERSION (redirection fails if PHP errors/warnings are displayed).