Commit 66a4b40b authored by Simon Welsh's avatar Simon Welsh

Remove double include of form, switch to require

git-svn-id: svn+ssh://lsgn/var/logbot-www@54 5f99df0c-6b0a-442a-b40a-040688e84a9d
parent 4d7818e2
<?php
require_once 'xhp/init.php';
require_once 'tags/calendar.php';
require_once 'tags/foot.php';
require_once 'tags/form.php';
require_once 'tags/form.php';
require_once 'tags/head.php';
require_once 'tags/info.php';
require_once 'tags/log.php';
require_once 'tags/logs.php';
require_once 'tags/month.php';
require_once 'tags/year.php';
require_once 'tags/years.php';
require 'xhp/init.php';
require 'tags/calendar.php';
require 'tags/foot.php';
require 'tags/form.php';
require 'tags/head.php';
require 'tags/info.php';
require 'tags/log.php';
require 'tags/logs.php';
require 'tags/month.php';
require 'tags/year.php';
require 'tags/years.php';
final class DB {
private $con;
......
......@@ -2,7 +2,7 @@
error_reporting(E_ALL);
require_once 'funcs.php';
require 'funcs.php';
$dates = build_dates();
......
......@@ -2,7 +2,7 @@
error_reporting(E_ALL);
require_once 'funcs.php';
require 'funcs.php';
if(empty($_GET['q']) || !trim($_GET['q'])) {
header('Location: index.php');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment