Adapt doc
This commit is contained in:
parent
beb3d376b2
commit
c35fd68ec2
|
@ -203,11 +203,12 @@ class ConfigFileManager
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Evaluate the fetched content
|
* Evaluate the content string as PHP code
|
||||||
|
*
|
||||||
|
* @see https://www.php.net/manual/en/function.eval.php
|
||||||
*
|
*
|
||||||
* @note
|
* @note
|
||||||
* Because `eval()` directly evaluates PHP content, we need to "close" the expected PHP content again with
|
* To leave the PHP mode, we have to use the appropriate PHP tags '?>' as prefix.
|
||||||
* the prefixed "?>". Now we're in plain HTML again and can evaluate any PHP file :-)
|
|
||||||
*/
|
*/
|
||||||
$dataArray = eval('?>' . $content);
|
$dataArray = eval('?>' . $content);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue