diff --git a/luci-app-nekobox/Makefile b/luci-app-nekobox/Makefile index e9176b7fa..7ba195bda 100644 --- a/luci-app-nekobox/Makefile +++ b/luci-app-nekobox/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_MAINTAINER:=Thaolga PKG_NAME:=luci-app-nekobox -PKG_VERSION:=1.6.8 +PKG_VERSION:=1.6.9 PKG_RELEASE:=cn PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/luci-app-nekobox/htdocs/nekobox/assets/img/Latest.svg b/luci-app-nekobox/htdocs/nekobox/assets/img/Latest.svg index f54da8db9..fa54d2f78 100644 --- a/luci-app-nekobox/htdocs/nekobox/assets/img/Latest.svg +++ b/luci-app-nekobox/htdocs/nekobox/assets/img/Latest.svg @@ -1,5 +1,5 @@ - - Latest Version: v1.6.8 + + Latest Version: v1.6.9 @@ -15,7 +15,7 @@ Latest Version - - v1.6.8 + + v1.6.9 diff --git a/luci-app-nekobox/htdocs/nekobox/assets/img/curent.svg b/luci-app-nekobox/htdocs/nekobox/assets/img/curent.svg index 58c217487..faf4ddd6d 100644 --- a/luci-app-nekobox/htdocs/nekobox/assets/img/curent.svg +++ b/luci-app-nekobox/htdocs/nekobox/assets/img/curent.svg @@ -1,5 +1,5 @@ - - Current Version: v1.6.8 + + Current Version: v1.6.9 @@ -15,7 +15,7 @@ Current Version - - v1.6.8 + + v1.6.9 \ No newline at end of file diff --git a/luci-app-nekobox/htdocs/nekobox/ping.php b/luci-app-nekobox/htdocs/nekobox/ping.php index bbe88caee..10f4732bc 100644 --- a/luci-app-nekobox/htdocs/nekobox/ping.php +++ b/luci-app-nekobox/htdocs/nekobox/ping.php @@ -1075,6 +1075,241 @@ if(typeof checkSiteStatus !== 'undefined') { setInterval(IP.getIpipnetIP, 180000); + + + + + + + + + + diff --git a/luci-app-nekobox/htdocs/nekobox/save_snow_status.php b/luci-app-nekobox/htdocs/nekobox/save_snow_status.php new file mode 100644 index 000000000..5634b7de5 --- /dev/null +++ b/luci-app-nekobox/htdocs/nekobox/save_snow_status.php @@ -0,0 +1,21 @@ +') === false) { + $fileContent .= '
'; + file_put_contents($pingFile, $fileContent); + } + } else { + if (strpos($fileContent, '
') !== false) { + $fileContent = str_replace('
', '', $fileContent); + file_put_contents($pingFile, $fileContent); + } + } +} +?> diff --git a/luci-app-nekobox/htdocs/nekobox/settings.php b/luci-app-nekobox/htdocs/nekobox/settings.php index 4c33c48fd..eee19f947 100644 --- a/luci-app-nekobox/htdocs/nekobox/settings.php +++ b/luci-app-nekobox/htdocs/nekobox/settings.php @@ -20,8 +20,8 @@ if(isset($_POST['fw'])){ if ($dt == 'disable') shell_exec("uci set neko.cfg.new_interface='0' && uci commit neko"); } $fwstatus=shell_exec("uci get neko.cfg.new_interface"); +$enableSnow = false; ?> -
- +
- +
@@ -661,15 +661,15 @@ $razordVersion = getRazordVersion();
- +
- +
- +
@@ -724,14 +724,15 @@ $razordVersion = getRazordVersion();
- +
+ > + +
-