Apparently, variable interpolation also suffers from an unneeded memory copy
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
e16bc39f85
commit
3dcb36b4ca
@ -355,10 +355,10 @@ class Theme
|
||||
. ThemeManager::FALLBACK_THEME . "/css/$file.css.php";
|
||||
|
||||
if (is_readable($path)) {
|
||||
echo "\n/* FILE: $file.css.php */\n";
|
||||
echo "\n/* FILE: " , $file , ".css.php */\n";
|
||||
include $path;
|
||||
} else if (is_readable($fallback)) {
|
||||
echo "\n/* FILE: $file.css.php */\n";
|
||||
echo "\n/* FILE: " , $file , ".css.php */\n";
|
||||
include $fallback;
|
||||
} else {
|
||||
$success = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user