Using Focus Lab Master Config, I've defined these constants for my dev environment:
define('ENV', 'dev');
define('ENV_FULL', 'Development');
define('ENV_DEBUG', TRUE);
define('ENV_BASE_PATH', '/home/public_html/dev/');
define('ENV_BASE_URL', 'mywebsite.com');
In config.master.php I have this line:
$env_config['tmpl_file_basepath'] = ENV_BASE_PATH . 'templates/';
Now when I check my Global Template Preferences in the CP, I get this:
ENV_BASE_PATHtemplates/
As a test, when I put ENV, ENV_FULL or ENV_DEBUG in the $env_config line in stead, it prints correctly. On my local install there's no issue at all. Did I miss another setting needed to make this work?