Moved the Agents into their own repo. Kept the agent.pl just for reference
This commit is contained in:
parent
22381be29a
commit
8680a02b13
18132 changed files with 0 additions and 2569420 deletions
|
|
@ -1,25 +0,0 @@
|
|||
<?php
|
||||
function exec_ogp_module() {
|
||||
define("IN_SCRIPT_ADMIN","1");
|
||||
error_reporting(0);
|
||||
|
||||
require("modules/news/include/SiteManager.class.php");
|
||||
$website = new SiteManager();
|
||||
$website->SetDataFile("modules/news/data/listings.xml");
|
||||
$website->LoadSettings();
|
||||
|
||||
$website->LoadTemplate();
|
||||
|
||||
if(!empty($_REQUEST["page"]) && preg_match("/^[a-z]+$/", $_REQUEST['page']))
|
||||
{
|
||||
$website->SetPage($_REQUEST["page"]);
|
||||
}
|
||||
else
|
||||
{
|
||||
$website->SetPage("home");
|
||||
}
|
||||
|
||||
$website->Render();
|
||||
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue