示例#1
0
文件: index.php 项目: npotier/gitlist
<?php

/**
 * GitList 0.3
 * https://github.com/klaussilveira/gitlist
 */
// Set the default timezone for systems without date.timezone set in php.ini
if (!ini_get('date.timezone')) {
    date_default_timezone_set('UTC');
}
require 'vendor/autoload.php';
// Load configuration
$config = GitList\Config::fromFile('config.ini');
$app = (require 'boot.php');
$app->run();