Add optional database table prefix (issue #118; see issue comments for details)
This commit is contained in:
1 parent
232f4ff868
commit
a052a791b5
18 files changed
+177
-165
No files matched your search
@@ -61,7 +61,7 @@
|
||||
// debug just the graphing (not updating) with the --debug switch
|
||||
if (!isset($argv[1]) || $argv[1] != '--debug') {
|
||||
// Update graph
|
||||
$query = query(sprintf("SELECT MAX(`id`) FROM `posts_%s`", $board));
|
||||
$query = query(sprintf("SELECT MAX(`id`) FROM ``posts_%s``", $board));
|
||||
$count = $query->fetchColumn();
|
||||
|
||||
if (!rrd_update($file, Array(
|
||||
|
||||
Reference in new issue
Block a user