Skip to content

Commit f882521

Browse files
committed
Version 1.3.3
1 parent f0a4f34 commit f882521

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/ShortPixelWeb.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@
88

99

1010
use ShortPixel\persist\TextPersister;
11+
use ShortPixel\SPLog;
1112
use ShortPixelWeb\XTemplate;
1213

1314
require_once("../vendor/autoload.php");
1415

1516
class ShortPixelWeb
1617
{
17-
const VERSION = "1.3.2";
18+
const VERSION = "1.3.3";
19+
const DEBUG_LOG = false;
1820

1921
private $settingsHandler;
2022
private $xtpl;
@@ -332,6 +334,7 @@ function optimizeAction($folder, $uniqueId, $slice) {
332334
$timeLimit = 60;
333335
}
334336

337+
$logger = SPLog::Init($uniqueId, self::DEBUG_LOG, SPLog::TARGET_CONSOLE, false, SPLog::FLAG_MEMORY);
335338
$folderPath = $this->basePath . $folder; // get that damn separator straight on Windows too :))
336339

337340
try {

webroot/css/sp-file-tree.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ UL div.sp-file-status {
5757
display:flex;
5858
float:right;
5959
font-size: 0.8em;
60+
z-index: 1;
61+
position:relative;
6062
}
6163
.sp-eye-open:before {
6264
font: 400 17px/1 dashicons;

0 commit comments

Comments
 (0)