From 030d26e074d8fdc7ed17351946e8f08348445bb7 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sun, 1 Mar 2020 13:02:20 +0800 Subject: [PATCH] Update common.php --- function/common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/function/common.php b/function/common.php index 43302eb..f9b87e6 100644 --- a/function/common.php +++ b/function/common.php @@ -280,14 +280,14 @@ function gethiddenpass($path,$passfile) $passwordf=explode("\n",$arr['body']); $password=$passwordf[0]; $password=md5($password); - savecache($path . '/password', $password); + savecache('path_' . $path . '/?password', $password); return $password; } else { //return md5('DefaultP@sswordWhenNetworkError'); return md5( md5(time()).rand(1000,9999) ); } } else { - savecache($path . '/password', 'null'); + savecache('path_' . $path . '/?password', 'null'); if ($path !== '' ) { $path = substr($path,0,strrpos($path,'/')); return gethiddenpass($path,$passfile);