Revision 1639
Added by Luisehahne almost 13 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
12 | 12 |
=============================================================================== |
13 | 13 |
|
14 | 14 |
|
15 |
22 Mar-2012 Build 1639 Dietmar Woellbrink (Luisehahne) |
|
16 |
+ Installer add const DEBUG to config.php |
|
17 |
! move const DEBUG and var $starttime from index.php to initialize.php |
|
15 | 18 |
14 Mar-2012 Build 1638 Werner v.d.Decken(DarkViper) |
16 | 19 |
+ config.php added define to set admin-directory |
17 | 20 |
13 Mar-2012 Build 1637 Werner v.d.Decken(DarkViper) |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
51 | 51 |
|
52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.3'); |
54 |
if(!defined('REVISION')) define('REVISION', '1638');
|
|
54 |
if(!defined('REVISION')) define('REVISION', '1639');
|
|
55 | 55 |
if(!defined('SP')) define('SP', ''); |
branches/2.8.x/wb/framework/initialize.php | ||
---|---|---|
50 | 50 |
$_SERVER['HTTP_REFERER'] = $sTmpReferer; |
51 | 51 |
} |
52 | 52 |
|
53 |
$starttime = array_sum(explode(" ",microtime())); |
|
54 |
if(!defined('DEBUG')){ define('DEBUG', false); }// Include config file |
|
53 | 55 |
if( !defined('ADMIN_DIRECTORY')) { define('ADMIN_DIRECTORY', 'admin'); } |
54 | 56 |
if(!preg_match('/xx[a-z0-9_][a-z0-9_\-\.]+/i', 'xx'.ADMIN_DIRECTORY)) { |
55 | 57 |
throw new RuntimeException('Invalid admin-directory: ' . ADMIN_DIRECTORY); |
branches/2.8.x/wb/index.php | ||
---|---|---|
15 | 15 |
* |
16 | 16 |
*/ |
17 | 17 |
|
18 |
$starttime = array_sum(explode(" ",microtime())); |
|
19 |
|
|
20 |
define('DEBUG', false); |
|
21 | 18 |
// Include config file |
22 | 19 |
$config_file = dirname(__FILE__).'/config.php'; |
23 | 20 |
if(file_exists($config_file)) |
branches/2.8.x/wb/install/save.php | ||
---|---|---|
284 | 284 |
$config_content = "" . |
285 | 285 |
"<?php\n". |
286 | 286 |
"\n". |
287 |
"define('DEBUG', false);\n". |
|
287 | 288 |
"define('DB_TYPE', 'mysql');\n". |
288 | 289 |
"define('DB_HOST', '$database_host');\n". |
289 | 290 |
"define('DB_NAME', '$database_name');\n". |
... | ... | |
314 | 315 |
} |
315 | 316 |
|
316 | 317 |
// Define configuration vars |
318 |
define('DEBUG', false); |
|
317 | 319 |
define('DB_TYPE', 'mysql'); |
318 | 320 |
define('DB_HOST', $database_host); |
319 | 321 |
define('DB_NAME', $database_name); |
... | ... | |
477 | 479 |
." ('wysiwyg_editor', 'fckeditor')," |
478 | 480 |
." ('manage_sections', 'true')," |
479 | 481 |
." ('section_blocks', 'true')," |
480 |
." ('smart_login', 'true'),"
|
|
482 |
." ('smart_login', 'false'),"
|
|
481 | 483 |
." ('frontend_login', 'false')," |
482 | 484 |
." ('frontend_signup', 'false')," |
483 | 485 |
." ('search', 'public')," |
Also available in: Unified diff
+ Installer add const DEBUG to config.php
! move const DEBUG and var $starttime from index.php to initialize.php