Files
pathfinder/index.php
Mark Friedrich 647bd7db58 - BC Break: _PHP_ namespaces changed (PSR-4 standard). The _root_ namespace for all _PF_ related scripts is Exodus4D\Pathfinder
- BC Break: Project folder structure changed. Removed `app/main` dir.
- BC Break: Core _PHP_ framework + dependencies moved into `composer.json` and are no longer part of this repo
2019-12-15 22:27:17 +01:00

24 lines
435 B
PHP

<?php
namespace Exodus4D\Pathfinder;
use Exodus4D\Pathfinder\Lib;
session_name('pathfinder_session');
$composerAutoloader = 'vendor/autoload.php';
if(file_exists($composerAutoloader)){
require_once($composerAutoloader);
}
$f3 = \Base::instance();
// load main config
$f3->config('app/config.ini', true);
// load environment dependent config
Lib\Config::instance($f3);
// initiate cron-jobs
Lib\Cron::instance();
$f3->run();