Require config.php before settings.php to get the constant.