mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Simplify example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310855 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e0a206c69c
commit
91b81c7b6c
1 changed files with 1 additions and 3 deletions
|
@ -285,9 +285,7 @@ function get_include_contents($filename) {
|
|||
if (is_file($filename)) {
|
||||
ob_start();
|
||||
include $filename;
|
||||
$contents = ob_get_contents();
|
||||
ob_end_clean();
|
||||
return $contents;
|
||||
return ob_get_clean();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue