various typos
This commit is contained in:
parent
7d03e2c527
commit
b0a44e1a5c
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
$_SERVER = Array('REQUEST_URI' => '', 'HTTP_HOST' => '', 'SCRIPT_FILENAME' => '');
|
$_SERVER = Array('REQUEST_URI' => '', 'HTTP_HOST' => '', 'SCRIPT_FILENAME' => '');
|
||||||
chdir('../../..');
|
chdir('../../../');
|
||||||
|
|
||||||
require 'inc/functions.php';
|
require 'inc/functions.php';
|
||||||
require 'inc/display.php';
|
require 'inc/display.php';
|
||||||
|
@ -41,8 +41,8 @@
|
|||||||
|
|
||||||
if($action == 'cron') {
|
if($action == 'cron') {
|
||||||
$query = prepare(sprintf("SELECT COUNT(*) AS `count` FROM `posts_%s` WHERE `time` >= :time", $board));
|
$query = prepare(sprintf("SELECT COUNT(*) AS `count` FROM `posts_%s` WHERE `time` >= :time", $board));
|
||||||
$query->bindValue(':time', time() - $this->interval, PDO::PARAM_INT):
|
$query->bindValue(':time', time() - $this->interval, PDO::PARAM_INT);
|
||||||
$query->exeucte() or error(db_error($query));
|
$query->execute() or error(db_error($query));
|
||||||
$count = $query->fetch();
|
$count = $query->fetch();
|
||||||
$count = $count['count'];
|
$count = $count['count'];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user