Skip to content
Permalink
Browse files

fixed eval() to fix changed heredoc behavior

  • Loading branch information
wkpark committed Dec 19, 2019
1 parent 2c53d31 commit dac6ada7dff4d99432e512590819c6ae23750460
Showing with 2 additions and 2 deletions.
  1. +2 −2 monisetup.php
@@ -181,8 +181,8 @@ function _getFormConfig($config,$mode=0) {
$val=str_replace(array("\r\n","\r"),array("\n","\n"),$val);
if (!isset($val)) $val="''";
if (!$mode) {
@eval("\$dum=$val;");
@eval("\$$key=$val;");
@eval("\$dum=$val;\n");
@eval("\$$key=$val;\n");
$conf[$key]=$dum;
} else {
$conf[$key]=$val;

0 comments on commit dac6ada

Please sign in to comment.
You can’t perform that action at this time.