Currently when you compile a patch on the live site the stdout fills up with:
PHP Notice: Use of undefined constant ENVIRONMENT_PRODUCTION – assumed ‘ENVIRONMENT_PRODUCTION’ in /var/www/hoxtonowl.com/subdomains/www/patch-builder/settings.php on line 3 PHP Notice: Constant HEAVY_TOKEN already defined in /var/www/hoxtonowl.com/subdomains/www/patch-builder/patch-builder.php on line 20 PHP Warning: date(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. in /var/www/hoxtonowl.com/subdomains/www/patch-builder/patch-builder.php on line 129
It would be good to either fix the issues causing the messages, suppress them, or both.
The stdout message reported to the user only needs to contain the output from the make command.
Currently when you compile a patch on the live site the stdout fills up with:
PHP Notice: Use of undefined constant ENVIRONMENT_PRODUCTION – assumed ‘ENVIRONMENT_PRODUCTION’ in /var/www/hoxtonowl.com/subdomains/www/patch-builder/settings.php on line 3 PHP Notice: Constant HEAVY_TOKEN already defined in /var/www/hoxtonowl.com/subdomains/www/patch-builder/patch-builder.php on line 20 PHP Warning: date(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. in /var/www/hoxtonowl.com/subdomains/www/patch-builder/patch-builder.php on line 129
It would be good to either fix the issues causing the messages, suppress them, or both. The stdout message reported to the user only needs to contain the output from themake
command.