feat: improve visits filter UX and update currency label
This commit is contained in:
+10
-2
@@ -34,8 +34,8 @@ if not exist "!SCRIPTS!\php\php-cgi.exe" (
|
||||
pause & exit /b 1
|
||||
)
|
||||
|
||||
REM --- [1/7] Clear bootstrap cache ---
|
||||
echo [1/7] Clearing bootstrap cache...
|
||||
REM --- [1/7] Clear bootstrap cache + OPcache file cache ---
|
||||
echo [1/7] Clearing bootstrap cache and OPcache...
|
||||
cd /d "!PROJECT_DIR!"
|
||||
if exist "bootstrap\cache\config.php" del /F /Q "bootstrap\cache\config.php" >nul 2>&1
|
||||
if exist "bootstrap\cache\routes-v7.php" del /F /Q "bootstrap\cache\routes-v7.php" >nul 2>&1
|
||||
@@ -44,6 +44,11 @@ if exist "bootstrap\cache\packages.php" del /F /Q "bootstrap\cache\packages.
|
||||
if exist "bootstrap\cache\events.php" del /F /Q "bootstrap\cache\events.php" >nul 2>&1
|
||||
if exist "bootstrap\cache\blade-icons.php" del /F /Q "bootstrap\cache\blade-icons.php" >nul 2>&1
|
||||
if exist "bootstrap\cache\filament" rmdir /S /Q "bootstrap\cache\filament" >nul 2>&1
|
||||
REM Clear compiled Blade views (storage/framework/views/*.php)
|
||||
for %%f in ("storage\framework\views\*.php") do del /F /Q "%%f" >nul 2>&1
|
||||
REM Clear OPcache file cache from disk (opcache.file_cache=C:/tmp/php-opcache in php.ini)
|
||||
REM Without this, php-cgi reads stale bytecode after restart since validate_timestamps=0
|
||||
if exist "C:\tmp\php-opcache" rmdir /S /Q "C:\tmp\php-opcache" >nul 2>&1
|
||||
echo [OK] Done.
|
||||
echo.
|
||||
|
||||
@@ -55,6 +60,7 @@ echo.
|
||||
|
||||
REM --- [3/7] Optimize Laravel ---
|
||||
echo [3/7] Optimizing Laravel...
|
||||
"!SCRIPTS!\php\php.exe" artisan optimize:clear --quiet 2>nul
|
||||
"!SCRIPTS!\php\php.exe" artisan optimize --quiet 2>nul
|
||||
"!SCRIPTS!\php\php.exe" artisan filament:optimize --quiet 2>nul
|
||||
echo [OK] Done.
|
||||
@@ -86,9 +92,11 @@ echo [6/7] Firewall rules...
|
||||
netsh advfirewall firewall delete rule name="Matab Web 8000" >nul 2>&1
|
||||
netsh advfirewall firewall delete rule name="Matab FTP 2121" >nul 2>&1
|
||||
netsh advfirewall firewall delete rule name="Matab FTP Passive" >nul 2>&1
|
||||
netsh advfirewall firewall delete rule name="Matab Ping" >nul 2>&1
|
||||
netsh advfirewall firewall add rule name="Matab Web 8000" dir=in action=allow protocol=TCP localport=8000 >nul
|
||||
netsh advfirewall firewall add rule name="Matab FTP 2121" dir=in action=allow protocol=TCP localport=2121 >nul
|
||||
netsh advfirewall firewall add rule name="Matab FTP Passive" dir=in action=allow protocol=TCP localport=60000-60020 >nul
|
||||
netsh advfirewall firewall add rule name="Matab Ping" dir=in action=allow protocol=icmpv4:8,any >nul
|
||||
echo [OK] Done.
|
||||
echo.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user