Fixed PropelGeneratorAwareCommand to use the propel.ini file
This commit is contained in:
parent
d3205f13ab
commit
f68972f2b7
2 changed files with 30 additions and 3 deletions
|
|
@ -362,8 +362,17 @@ EOT;
|
|||
continue;
|
||||
}
|
||||
|
||||
$pos = strpos($line, '=');
|
||||
$properties[trim(substr($line, 0, $pos))] = trim(substr($line, $pos + 1));
|
||||
$pos = strpos($line, '=');
|
||||
$property = trim(substr($line, 0, $pos));
|
||||
$value = trim(substr($line, $pos + 1));
|
||||
|
||||
if ("true" === $value) {
|
||||
$value = true;
|
||||
} else if ("false" === $value) {
|
||||
$value = false;
|
||||
}
|
||||
|
||||
$properties[$property] = $value;
|
||||
}
|
||||
|
||||
return $properties;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue