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