bae windows php app was not using the constant defined program directory