Location: PHPKode > scripts > Robo Pages directory bot > robo-pages-directory-bot/invocation_demo.php
<?php

include "robopage_classes.php";
if(@stat("robopage_conf.php"))
include "robopage_conf.php";

$thePage = isset($_GET['thePage']) ? $_GET['thePage'] : "NULL";
$dir = isset($_GET['dir']) ? $_GET['dir'] : "NULL";
$mode = isset($_GET['mode']) ? $_GET['mode'] : "NULL";

// uncomment and edit appropriately, to use this
// program in a 'tilde' style personal home page

if(isset($sys_whoami))
  $page = new personal_site_page($thePage, $dir, $mode);
else
  $page = new robopage($thePage, $dir, $mode);
?>

Return current item: Robo Pages directory bot