Permalink
Browse files

Merge pull request #2314 from YOURLS/findconfig

Fix "find config"
  • Loading branch information...
ozh committed Nov 6, 2017
2 parents 2f048de + 5f04ccd commit 5725e562e0e749144e7390109e32eb3ee050dd6e
Showing with 1 addition and 1 deletion.
  1. +1 −1 includes/YOURLS/Config/Config.php
@@ -23,7 +23,7 @@ class Config {
* @param mixed $config Optional user defined config path
*/
public function __construct($config = false) {
$this->set_root( $this->fix_win32_path(realpath(__DIR__ . '/../../../..')) );
$this->set_root($this->fix_win32_path( dirname(dirname(dirname(__DIR__))) ));
$this->set_config($config);
}

0 comments on commit 5725e56

Please sign in to comment.