Skip to content

Commit

Permalink
Update x-ui-pro.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
GFW4Fun authored Oct 25, 2024
1 parent 915a5a4 commit 9305cb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-ui-pro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ if [[ -f $XUIDB ]]; then
fuser "$XUIDB" 2>/dev/null
PORT=$(sqlite3 "${XUIDB}" "SELECT value FROM settings WHERE key='webPort' LIMIT 1;" 2>&1)
RNDSTR=$(sqlite3 "${XUIDB}" "SELECT value FROM settings WHERE key='webBasePath' LIMIT 1;" 2>&1)
XUIUSER=$(sqlite3 "${XUIDB}" "SELECT 'username' FROM users LIMIT 1;" 2>&1)
XUIPASS=$(sqlite3 "${XUIDB}" "SELECT 'password' FROM users LIMIT 1;" 2>&1)
XUIUSER=$(sqlite3 "${XUIDB}" 'SELECT "username" FROM users;' 2>&1)
XUIPASS=$(sqlite3 "${XUIDB}" 'SELECT "password" FROM users;' 2>&1)
RNDSTR=$(add_slashes "$RNDSTR" | tr -d '[:space:]')
if [ "$RNDSTR" == "/" ]; then
NOPATH="#"
Expand Down

0 comments on commit 9305cb2

Please sign in to comment.