mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Squashed commit of the following:
commit 7190866ccf15033f27095d635546e46dacbb755e Author: plegall <plg@piwigo.org> Date: Thu Jul 12 10:52:33 2018 +0200 Revert "Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin" This reverts commitc8b12a2ed0. commit 1dac11ecb6783d0d5353c3d250388f018c30fc5c Author: plegall <plg@piwigo.org> Date: Thu Jul 12 10:52:24 2018 +0200 Revert "Update Smarty to 3.1.3" This reverts commitdb684f6151. commit 3ac752dc93912ba5701d22dadd9bb3b81e5bb383 Merge:d1c2e718d58256Author: plegall <plg@piwigo.org> Date: Thu Jul 12 10:50:43 2018 +0200 Merge branch 'php72' of https://github.com/Infern1/Piwigo into Infern1-php72 commit8d58256c45Author: Rob Lensen <rob@bsdfreaks.nl> Date: Wed Mar 21 23:40:36 2018 +0100 new feedcreator version for PHP7 commitbb0fcc3a30Author: Rob Lensen <rob@bsdfreaks.nl> Date: Wed Mar 21 23:26:27 2018 +0100 php72 fixes, replaces each() function commit3db22c0d33Author: Rob Lensen <rob@bsdfreaks.nl> Date: Wed Mar 21 23:02:46 2018 +0100 More fixes for PHP7.2 commit50d8aafc77Author: Rob Lensen <rob@bsdfreaks.nl> Date: Mon Mar 19 23:55:21 2018 +0100 Some more replacements of create_function commit8263335c42Author: Rob Lensen <rob@bsdfreaks.nl> Date: Mon Mar 19 22:54:54 2018 +0100 Fixed indents commit8d58b637c6Merge:c8b12a28a57d77Author: Rob Lensen <rob@bsdfreaks.nl> Date: Tue Feb 27 13:51:32 2018 +0100 Merge remote-tracking branch 'upstream/master' into php72 commitc8b12a2ed0Author: Rob Lensen <rob@bsdfreaks.nl> Date: Thu Jan 18 00:32:46 2018 +0100 Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin commitdb684f6151Author: Rob Lensen <rob@bsdfreaks.nl> Date: Thu Jan 18 00:23:24 2018 +0100 Update Smarty to 3.1.3 commit6a3f8f3e76Author: Rob Lensen <rob@bsdfreaks.nl> Date: Wed Jan 17 23:40:27 2018 +0100 Initial work to support PHP 7.2
This commit is contained in:
@@ -290,7 +290,7 @@ class Template
|
||||
return false;
|
||||
}
|
||||
reset($filename_array);
|
||||
while(list($handle, $filename) = each($filename_array))
|
||||
foreach ($filename_array as $handle => $filename)
|
||||
{
|
||||
if (is_null($filename))
|
||||
{
|
||||
@@ -1102,7 +1102,7 @@ var s,after = document.getElementsByTagName(\'script\')[document.getElementsByTa
|
||||
// replaces echo PHP_STRING_LITERAL; with the string literal value
|
||||
$source = preg_replace_callback(
|
||||
'/\\<\\?php echo ((?:\'(?:(?:\\\\.)|[^\'])*\')|(?:"(?:(?:\\\\.)|[^"])*"));\\?\\>\\n/',
|
||||
create_function('$matches', 'eval(\'$tmp=\'.$matches[1].\';\');return $tmp;'),
|
||||
function($matches) { eval('$tmp='.$matches[1].';');return $tmp; },
|
||||
$source);
|
||||
return $source;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user