From dae3b41faee2777046b0b612e2bd8b28caf0f189 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 19 Jul 2012 04:07:53 -0400
Subject: [PATCH] Fixed a warning in cron log on non web servers.

---
 interface/web/content.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/interface/web/content.php b/interface/web/content.php
index 8c0d311..52ea216 100644
--- a/interface/web/content.php
+++ b/interface/web/content.php
@@ -31,8 +31,13 @@
 require_once('../lib/config.inc.php');
 require_once('../lib/app.inc.php');
 
+/*
 $module = $_REQUEST["s_mod"];
 $page = $_REQUEST["s_pg"];
+*/
+
+$module = 'login';
+$page = 'index';
 
 if(!preg_match("/^[a-z]{2,20}$/i", $module)) die('module name contains unallowed chars.');
 if(!preg_match("/^[a-z]{2,20}$/i", $page)) die('page name contains unallowed chars.');

--
Gitblit v1.9.1