Moved config.ini to data

This commit is contained in:
Marcin Kurczewski 2014-09-02 19:40:51 +02:00
parent 978d22de67
commit e6ebac8277
4 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,3 +1,2 @@
local.ini
vendor vendor
composer.lock composer.lock

1
data/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
local.ini

View file

@ -1,8 +1,8 @@
<?php <?php
return [ return [
\Szurubooru\Config::class => DI\object()->constructor([ \Szurubooru\Config::class => DI\object()->constructor([
__DIR__ . DS . '..' . DS . 'config.ini', __DIR__ . DS . '..' . DS . 'data' . DS . 'config.ini',
__DIR__ . DS . '..' . DS . 'local.ini']), __DIR__ . DS . '..' . DS . 'data' . DS . 'local.ini']),
\Szurubooru\ControllerRepository::class => DI\object()->constructor(DI\link('controllers')), \Szurubooru\ControllerRepository::class => DI\object()->constructor(DI\link('controllers')),