Change:

if(defined("SYS_SYS")) newrelic_add_custom_parameter ("workspace", SYS_SYS);

To:

if (defined("SYS_SYS")) {
    newrelic_add_custom_parameter ("workspace", SYS_SYS);
}