This file contains hidden or 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 | |
/* Put this file inside .tinkerwell directory in your bedrock project */ | |
use Tinkerwell\ContextMenu\Label; | |
class BedrockTinkerwellDriver extends TinkerwellDriver | |
{ | |
public function canBootstrap($projectPath) |
This file contains hidden or 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 | |
define('WP_DEBUG', true); | |
define('WP_DEBUG_LOG', true); | |
define('WP_DEBUG_DISPLAY', false); | |
define('SCRIPT_DEBUG', true); | |
define('WP_DISABLE_FATAL_ERROR_HANDLER', true); | |
@ini_set('display_errors', 0); | |
//@ini_set('memory_limit', -1); |
This file contains hidden or 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
define('FORCE_SSL_ADMIN', true); | |
if(!defined('WP_CLI')){ | |
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false){ | |
$_SERVER['HTTPS']='on'; | |
} | |
} |