Missing bracket.

This commit is contained in:
jgen 2014-02-21 20:49:17 -05:00
parent 43f59cc4c0
commit 74639cd6b2
2 changed files with 5 additions and 2 deletions

View File

@ -39,7 +39,10 @@ after_failure:
- sudo cat /var/log/php5-fpm.log
- sudo ls /var/run/mysql*
- sudo ls /var/log/*mysql*
- sudo cat /var/log/mysql
- sudo cat /var/log/mysql.err
- sudo cat /var/log/mysql.log
- sudo cat /var/log/mysql/error.log
- sudo cat /var/log/mysql/slow.log
# configure notifications (email, IRC, campfire etc)
#notifications:

View File

@ -600,7 +600,7 @@ $_execs = 0;
*/
function _count_execs($db, $sql, $inputarray) {
global $_execs;
if (defined(DEBUG_SQL) && (DEBUG_SQL === true || (is_null(DEBUG_SQL) && @$_GET['DEBUG_SQL'])) {
if (defined(DEBUG_SQL) && (DEBUG_SQL === true || (is_null(DEBUG_SQL) && @$_GET['DEBUG_SQL']))) {
$fp = @fopen("data/sql.log", "a");
if($fp) {
if(isset($inputarray) && is_array($inputarray)) {