mirror of
https://github.com/anten-ka/gotelegram_pro.git
synced 2026-05-19 16:46:03 +00:00
v2.5.0: add shared 443 and per-user traffic
This commit is contained in:
@@ -22,6 +22,7 @@ source "$LIB_DIR/website.sh"
|
||||
source "$LIB_DIR/templates_catalog.sh"
|
||||
source "$LIB_DIR/backup.sh"
|
||||
[ -f "$LIB_DIR/stats.sh" ] && source "$LIB_DIR/stats.sh"
|
||||
[ -f "$LIB_DIR/shared443.sh" ] && source "$LIB_DIR/shared443.sh"
|
||||
|
||||
# Load language (from config.json or marker file, default en)
|
||||
load_language "$(detect_language)"
|
||||
@@ -936,6 +937,7 @@ auto_install_admin_web_if_possible() {
|
||||
if [ "$(admin_web_service_status)" != "not_installed" ] && \
|
||||
[ -f "$ADMIN_WEB_DIR/server.py" ] && \
|
||||
cmp -s "$SCRIPT_DIR/admin-web/server.py" "$ADMIN_WEB_DIR/server.py" && \
|
||||
cmp -s "$SCRIPT_DIR/admin-web/static/index.html" "$ADMIN_WEB_DIR/static/index.html" && \
|
||||
cmp -s "$SCRIPT_DIR/admin-web/static/app.js" "$ADMIN_WEB_DIR/static/app.js" && \
|
||||
cmp -s "$SCRIPT_DIR/admin-web/static/styles.css" "$ADMIN_WEB_DIR/static/styles.css"; then
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user