mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-07-21 06:20:24 +02:00
Add fromFile factory method to GitList\Config
This commit is contained in:
2
boot.php
2
boot.php
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
// Load configuration
|
||||
$config = new GitList\Config('config.ini');
|
||||
$config = GitList\Config::fromFile('config.ini');
|
||||
$config->set('git', 'repositories', rtrim($config->get('git', 'repositories'), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR);
|
||||
|
||||
// Startup and configure Silex application
|
||||
|
||||
Reference in New Issue
Block a user