Page MenuHomePhabricator

Setup script writes incorrect extensions paths to LocalSettings.php
Closed, ResolvedPublic

Description

Author: codedriller

Description:
Setup script in 1.22 on Windows writes the paths like this to LocalSettings.php:

require_once "$IP\extensions\Cite\Cite.php";

Using backslash in this case causes \e to be treated as escape sequence and it arises the following error:

Warning: require_once(C:\xampp\htdocs\w22\x1bxtensions\Cite\Cite.php): failed to open stream: Invalid argument in C:\xampp\htdocs\w22\LocalSettings.php on line 127

Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\w22\x1bxtensions\Cite\Cite.php' (include_path='.;\xampp\php\PEAR') in C:\xampp\htdocs\w22\LocalSettings.php on line 127

Version: 1.22.0
Severity: normal
OS: Windows 7
Platform: PC

Details

Reference
bz59611

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:42 AM
bzimport set Reference to bz59611.
  • This bug has been marked as a duplicate of bug 58659 ***