Permalink
Browse files

missing slash for path handling in Config

fixes #2312
fixes #2311
  • Loading branch information...
LeoColomb committed Nov 2, 2017
1 parent a2d7beb commit 4cb866abafce38f2d70d6c2e59494923417b7240
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(realpath(__DIR__ . '/../../../..')) );
$this->set_config($config);
}

1 comment on commit 4cb866a

@andrewperry

This comment has been minimized.

Show comment
Hide comment
@andrewperry

andrewperry Nov 6, 2017

This patch didn't work for me... better to replace with:
5f04ccd

andrewperry commented on 4cb866a Nov 6, 2017

This patch didn't work for me... better to replace with:
5f04ccd

Please sign in to comment.