Skip to content

Commit

Permalink
old PHP versions can't calculate in the initialzing
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Jan 21, 2017
1 parent b8b60fd commit ebf33c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/common.php
Expand Up @@ -2024,7 +2024,7 @@ function stripsourcemaps(&$text){
* @param int $maxsize maximum allowed size for the SVG to be embedded
* @return bool true if the file was embedded, false otherwise
*/
function embedSVG($file, $maxsize = 1024*2) {
function embedSVG($file, $maxsize = 2048) {
$file = trim($file);
if($file === '') return false;
if(!file_exists($file)) return false;
Expand Down

0 comments on commit ebf33c9

Please sign in to comment.