Removed __DIR__ constant, creating issue in php5.2