Location: PHPKode > projects > Angora Guestbook > angora_1_5/guestbook/admin/includes/checks.php
<?php

if (@$magic != "0xDEADBEEF")
	die("This file cannot be executed directly");

if (@is_dir("../setup")) {
	$error = new Error("Setup directory exists. You either haven't installed your guestbook, or forgot to delete the setup folder.");
	die($error->showError());
}

if (!file_exists("../data.php")) {
	$error = new Error("Data file doesn't exist. Have you installed your guestbook yet?");
	die($error->showError());
}

?>
Return current item: Angora Guestbook