コード例 #1
0
ファイル: index.php プロジェクト: Ephigenia/franklin
<?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();
コード例 #2
0
ファイル: cron.php プロジェクト: Ephigenia/franklin
<?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();