Example #1
0
<?php

require __DIR__ . '/../config/bootstrap.php';
$Franklin = new \Franklin\Franklin();
$Franklin->loadConfig(FRANKLIN_ROOT . '/config/config.php');
header('Content-Type: text/html; charset=utf-8');
echo $Franklin->report();
Example #2
0
<?php

/**
 * Cron-Job-Script for Franklin
 * this should only be called by cronjobs
 * 	
 * see readme.txt file for installation instructions
 */
require __DIR__ . '/config/bootstrap.php';
$Franklin = new \Franklin\Franklin();
$Franklin->loadConfig(FRANKLIN_ROOT . '/config/config.php');
$Franklin->cron();