diff --git a/core/util.inc.php b/core/util.inc.php index 8254e37a..736174ca 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -144,7 +144,7 @@ function get_thumbnail_size($orig_width, $orig_height) { } # $db is the connection object -function CountExecs($db, $sql, $inputarray) { +function _count_execs($db, $sql, $inputarray) { global $_execs; if(DEBUG) { $fp = fopen("sql.log", "a"); diff --git a/index.php b/index.php index e20eac23..02f397e4 100644 --- a/index.php +++ b/index.php @@ -31,7 +31,7 @@ foreach($files as $filename) { } $database = new Database(); -$database->db->fnExecute = 'CountExecs'; +$database->db->fnExecute = '_count_execs'; $config = new Config(); $_theme = $config->get_string("theme", "default"); require_once "themes/$_theme/page.class.php";