Revision 1674
Added by Luisehahne over 13 years ago
| class.admin.php | ||
|---|---|---|
| 208 | 208 |
|
| 209 | 209 |
$footer_template->set_block('footer_block', 'show_debug_block', 'show_debug');
|
| 210 | 210 |
|
| 211 |
$bDebug = (defined('DEBUG') ? true : false);
|
|
| 211 |
$bDebug = (defined('DEBUG') ? DEBUG : false);
|
|
| 212 | 212 |
$bDevInfo = (defined('DEV_INFOS') && (DEV_INFOS == true) && (1 == $this->get_user_id()) ? true : false);
|
| 213 | 213 |
// if( $debug && (1 == $this->get_user_id())) |
| 214 | 214 |
if( $bDevInfo ) |
| ... | ... | |
| 225 | 225 |
// $debug = true; |
| 226 | 226 |
foreach($included_files as $filename) |
| 227 | 227 |
{
|
| 228 |
if(!is_readable($filename)) { continue; }
|
|
| 228 | 229 |
if($bDebug) |
| 229 | 230 |
{
|
| 230 | 231 |
$footer_template->set_var('INCLUDES_ARRAY', str_replace(WB_PATH, '',$filename) );
|
Also available in: Unified diff
+ add tool_icon.png to core module
! update outpu_filter success an error messages
! small redesign wb_themes