generated from figuren-theater/new-ft-module
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing namespace declaration for global ns (#9)
- Loading branch information
Showing
1 changed file
with
30 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,6 @@ | |
// figuren-theater/ft-platform ! | ||
// | ||
|
||
// ./wp-config.php | ||
define( 'FT_ROOT_DIR', __DIR__ ); | ||
define( 'FT_WP_DIR', '/wp' ); | ||
|
||
// ./wp-config.default.php | ||
define( 'FT_VENDOR_DIR', FT_ROOT_DIR . '/vendor' ); | ||
define( 'FT_VENDOR_URL', 'https://localhost/content/v' ); // Symlinked to DOCROOT/vendor. | ||
|
||
// ./wp-config.{{ENV}}.php | ||
define( 'FT_MAINTENANCE_MODE', false ); | ||
|
||
namespace Figuren_Theater { | ||
/** | ||
* Get Version number of ft-platform | ||
|
@@ -31,16 +20,34 @@ | |
function get_platform_version() : string {} | ||
} | ||
|
||
// | ||
// figuren-theater/ft-maitenance ! | ||
// | ||
namespace { | ||
// | ||
// figuren-theater/ft-platform ! | ||
// | ||
|
||
// ./wp-config.php | ||
define( 'FT_ROOT_DIR', __DIR__ ); | ||
define( 'FT_WP_DIR', '/wp' ); | ||
|
||
// ./content/mu-plugins/FT/ft-maintenance/inc/mode/namespace.php | ||
// ./content/mu-plugins/FT/ft-maintenance/inc/mode/error-template.php | ||
// ./content/db-error.php | ||
// ./content/maintenance.php | ||
// ./content/php-error.php | ||
define( 'FT_ERROR_MAIL_TO', 'f.t web-Crew <[email protected]>' ); | ||
define( 'FT_ERROR_MAIL_FROM', '[email protected]' ); | ||
define( 'FT_ERROR_MAIL_INTERVAL', 300 ); | ||
define( 'FT_ERROR_SUPPRESS_EMAIL', true ); | ||
// ./wp-config.default.php | ||
define( 'FT_VENDOR_DIR', FT_ROOT_DIR . '/vendor' ); | ||
define( 'FT_VENDOR_URL', 'https://localhost/content/v' ); // Symlinked to DOCROOT/vendor. | ||
|
||
// ./wp-config.{{ENV}}.php | ||
define( 'FT_MAINTENANCE_MODE', false ); | ||
|
||
// | ||
// figuren-theater/ft-maitenance ! | ||
// | ||
|
||
// ./content/mu-plugins/FT/ft-maintenance/inc/mode/namespace.php | ||
// ./content/mu-plugins/FT/ft-maintenance/inc/mode/error-template.php | ||
// ./content/db-error.php | ||
// ./content/maintenance.php | ||
// ./content/php-error.php | ||
define( 'FT_ERROR_MAIL_TO', 'f.t web-Crew <[email protected]>' ); | ||
define( 'FT_ERROR_MAIL_FROM', '[email protected]' ); | ||
define( 'FT_ERROR_MAIL_INTERVAL', 300 ); | ||
define( 'FT_ERROR_SUPPRESS_EMAIL', true ); | ||
|
||
} |