Index: trunk/tools/switch-master/ConfEditor.php |
— | — | @@ -560,7 +560,7 @@ |
561 | 561 | $this->error( "expected a string or number for the array key" ); |
562 | 562 | } |
563 | 563 | if ( $token->type == T_CONSTANT_ENCAPSED_STRING ) { |
564 | | - $text = eval( "return {$token->text};" ); |
| 564 | + $text = stripslashes( substr( $token->text, 1, -1 ) ); |
565 | 565 | } else { |
566 | 566 | $text = $token->text; |
567 | 567 | } |