wie verhindert man, daß ein Anwender diesen Aufruf machen kann:
http//www.MeineDomain.de/contenido/cronjobs/m ... _stats.php
In der Standardinstallation von Contenido kann man das nämlich

Code: Alles auswählen
if ($_SERVER["PHP_SELF"] == "" || function_exists("runJob"))
{
$db = new DB_Contenido;
$year = date("Y");
$month = date("m");
if ($month == 1)
{
$month = 12;
$year = $year -1;
} else {
$month = $month -1;
}
statsArchive(sprintf("%04d%02d",$year,$month));
}
FrankHoffmann hat geschrieben:Mal ne einfache Frage:
wie verhindert man, daß ein Anwender diesen Aufruf machen kann:
http//www.MeineDomain.de/contenido/cronjobs/m ... _stats.php
In der Standardinstallation von Contenido kann man das nämlich