1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 08:51:34 +02:00
invoiceninja/app/Providers/ConfigServiceProvider.php
Jeramy Simpson 651e06fdb9 Update Confide Config Setting for L5
Also adds other package config settings however they have not yet been called in ConfigServiceProvider
2015-03-24 17:27:43 +10:00

30 lines
739 B
PHP

<?php namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class ConfigServiceProvider extends ServiceProvider {
/**
* Overwrite any vendor / package configuration.
*
* This service provider is intended to provide a convenient location for you
* to overwrite any "vendor" or package configuration that you may want to
* modify before the application handles the incoming request / command.
*
* @return void
*/
public function register()
{
// Surely there has to be a better way than this?
app('config')->set('confide', require $this->app->basePath() . '/config/packages/zizaco/confide/config.php');
/*
This doesn't work:
config([
'config/packages/zizaco/confide/config.php'
]);*/
}
}