Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2012-11-02 20:01:04 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2012-11-02 20:01:04 (GMT)
commitbc237444c455654562dbbae74d23f433c73c0dec (patch)
tree135e7f57285930878d0ee926662f47a4b693e247
parentf0299da4794371ac5cc4df15be2e8b965313ecf8 (diff)
Do not try to expand ini variables and switch to raw ini parser; otherwise, php tries to find keywords like "on" in any text string
-rw-r--r--site/app/controllers/developers_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/app/controllers/developers_controller.php b/site/app/controllers/developers_controller.php
index 1a5e7c6..d97d8c4 100644
--- a/site/app/controllers/developers_controller.php
+++ b/site/app/controllers/developers_controller.php
@@ -877,7 +877,7 @@ class DevelopersController extends AppController
$info_text = str_replace(";", ",", $info_text);
$info_text = preg_replace("/(^|\\n)[\t ][^\\n]*/", "", $info_text);
file_put_contents($info_file, $info_text);
- $info = parse_ini_file($info_file);
+ $info = parse_ini_file($info_file, false, INI_SCANNER_RAW);
}
$this->_rmtree($tmpdir);