Change realpath(__DIR__) to just __DIR__
Changed only for scenarios where __DIR__ was used alone, and not with additional path adjustments to the realpath() call.