diff options
author | Nils Adermann <naderman@naderman.de> | 2006-06-03 22:19:41 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2006-06-03 22:19:41 +0000 |
commit | 6ba50e34d60441e3eaf6c9fe1bff95a902393c84 (patch) | |
tree | e9ba8f0c1c5ff596a41ca070a0a80e641efebc77 /phpBB/includes/db | |
parent | 9aa9cb4bb6d9ad21db25bf24e70ed35b92c0f1a9 (diff) | |
download | forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar.gz forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar.bz2 forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.tar.xz forums-6ba50e34d60441e3eaf6c9fe1bff95a902393c84.zip |
- removed useless code from style.php
- added a view template cache mode to acp_styles
- syntax highlighting for the acp css
- completed refresh actions for themes and templates
- fixed theme and template installation
- use a function for generating database theme data
- removed useless code from mcp_queue.php
we might need to do some more tests of acp_styles with safe_mode on
git-svn-id: file:///svn/phpbb/trunk@6007 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db')
-rw-r--r-- | phpBB/includes/db/dbal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php index 02072c1c60..4900486a9e 100644 --- a/phpBB/includes/db/dbal.php +++ b/phpBB/includes/db/dbal.php @@ -280,7 +280,7 @@ class dbal // Show complete SQL error and path to administrators only // Additionally show complete error on installation or if extended debug mode is enabled // The DEBUG_EXTRA constant is for development only! - if ($auth->acl_get('a_') || defined('IN_INSTALL') || defined('DEBUG_EXTRA')) + if (isset($auth) && ($auth->acl_get('a_') || defined('IN_INSTALL') || defined('DEBUG_EXTRA'))) { // Print out a nice backtrace... $backtrace = get_backtrace(); |