Пример #1
0
<?php

/**
 * Cron-Job-Script for Franklin
 * this should only be called by cronjobs
 * 	
 * see readme.txt file for installation instructions
 */
require_once dirname(__FILE__) . '/lib/Franklin.php';
$app = new Franklin();
$app->runTests();
Пример #2
0
<?php

/**
 * This is the main franling application caller file that creates
 * an instance of Franklin and shows the report.
 *
 * !!! Do not set this file as your cronjob !!!
 * 
 * see README.md file for installation and setup instructions
 */
require_once dirname(__FILE__) . '/../app/lib/Franklin.php';
$app = new Franklin();
$app->showReport();
Пример #3
0
 public function __construct()
 {
     $this->setErrorReporting();
     self::$CLIMODE = !isset($_SERVER['SERVER_PORT']);
     $this->loadConfig(dirname(__FILE__) . '/../config/config.php');
 }