Apparently, variable interpolation also suffers from an unneeded memory copy

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2015-12-06 07:40:20 -05:00
parent e16bc39f85
commit 3dcb36b4ca

View File

@ -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;