I have the following:
_CONFIG.php
<?php namespace App\go;
define('x_client_id', 'client');
define('x_client_secret', '');
define('x_username', 'ervice');
another.php
<?php namespace App\go;
include _CONFIG.php;
class goapp
{
protected $_client_id = x_client_id;
protected $_client_secret = x_client_secret;
protected $_username = x_username;
This does not seem to pass or load the variables. Is there a correct way to move the variables out of the files and create a master config?