- Replace dirname(__FILE__) with __DIR__ constant