Last active
August 25, 2018 03:15
-
-
Save i5on9i/c2699beb721b858e5d4f9bc98c1f551b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers\App; | |
use App\Http\Controllers\Controller; | |
use App\Lib\CorpValues; | |
use Illuminate\Support\Facades\View; | |
class BaseViewController extends Controller | |
{ | |
/** | |
* Create a new controller instance. | |
* | |
* @return void | |
*/ | |
public function __construct() | |
{ | |
View::share('siteName', CorpValues::SITE_NAME); | |
View::share('corpName', CorpValues::CORP1_NAME); | |
} | |
} | |
?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment