mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-12 22:24:59 +00:00
Replace the DOCUMENT_ROOT and PROJECT_ROOT variables
Use the __DIR__ constant and dirname as needed
This commit is contained in:
@@ -19,21 +19,29 @@
|
||||
* @param string $config_file Configuration file currently in use
|
||||
* @param string $config_path_and_filename Full path and configuration file currently in use
|
||||
*
|
||||
* @internal the @param statements are used because they match the magic __get function that allows those to be
|
||||
* accessed publicly
|
||||
* @internal the @param statements are used because they match the magic __get function that allows those to be accessed publicly
|
||||
*/
|
||||
final class config {
|
||||
|
||||
// Full path and filename of config.conf
|
||||
/**
|
||||
* Configuration object used to hold a single instance
|
||||
*
|
||||
* @var array
|
||||
* @var config
|
||||
*/
|
||||
public static $config = null;
|
||||
|
||||
// The internal array that holds the configuration in the config.conf file
|
||||
/**
|
||||
* The full path and file name for the config file.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $file;
|
||||
|
||||
/**
|
||||
* The array of settings contained in the config file.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $configuration;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user