provide correct path for require_once
use __DIR__ instead of realpath
Merge pull request #4393 from owncloud/fix_4326

provide correct path for require_once

* owncloud/fix_4326:
  use __DIR__ instead of realpath
  provide correct path for require_once