git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfafadc
)
work around PHP bug #68347: parse ini files in raw mode
author
Christian Weiske
<
[email protected]
>
Wed, 5 Nov 2014 10:22:39 +0000
(11:22 +0100)
committer
Christian Weiske
<
[email protected]
>
Wed, 5 Nov 2014 10:22:39 +0000
(11:22 +0100)
src/phorkie/Repository/ConnectionInfo.php
patch
|
blob
|
history
diff --git
a/src/phorkie/Repository/ConnectionInfo.php
b/src/phorkie/Repository/ConnectionInfo.php
index ce96c3e56a044d7651803d1a09b516bce5225bb6..501f7d0434963b405b90d2028713456d451bd108 100644
(file)
--- a/
src/phorkie/Repository/ConnectionInfo.php
+++ b/
src/phorkie/Repository/ConnectionInfo.php
@@
-10,7
+10,10
@@
class Repository_ConnectionInfo
public function __construct(Repository $repo)
{
$this->repo = $repo;
- $this->arConfig = parse_ini_file($this->repo->gitDir . '/config', true);
+ //we need raw parsing; https://bugs.php.net/bug.php?id=68347
+ $this->arConfig = parse_ini_file(
+ $this->repo->gitDir . '/config', true, INI_SCANNER_RAW
+ );
}
public function isFork()