Browse Source

Move `Config` and `PConfig` classes in `\Friendica\Core namespace`

pull/2585/head
Fabrixxm 5 years ago
parent
commit
6c346b1ab6
  1. 4
      include/Core/Config.php
  2. 4
      include/Core/PConfig.php
  3. 7
      include/config.php

4
include/Config.php → include/Core/Config.php

@ -1,7 +1,7 @@
<?php
namespace Friendica\Core;
/**
* @file include/Config.php
* @file include/Core/Config.php
*
* @brief Contains the class with methods for system configuration
*/

4
include/PConfig.php → include/Core/PConfig.php

@ -1,7 +1,7 @@
<?php
namespace Friendica\Core;
/**
* @file include/PConfig.php
* @file include/Core/PConfig.php
* @brief contains the class with methods for the management
* of the user configuration
*/

7
include/config.php

@ -1,8 +1,4 @@
<?php
require_once("include/PConfig.php");
require_once("include/Config.php");
/**
* @file include/config.php
*
@ -16,6 +12,9 @@ require_once("include/Config.php");
* configurations need to be fixed as of 10/08/2011.
*/
use \Friendica\Core\Config;
use \Friendica\Core\PConfig;
/**
* @brief (Deprecated) Loads all configuration values of family into a cached storage.
*

Loading…
Cancel
Save