You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-16 11:53:58 +08:00
v2.7.2 dev
* 2023-02-04 v2.7.2 dev - 增加 [web-indexr](https://github.com/rehiy/web-indexr) 文件管理 - - web-indexr处于实验中,作为Tinyfilemanager的替代 - 修复开启登录上传后,上传者账号上传失败 [#87](https://github.com/icret/EasyImages2.0/issues/87#issue-1569794639) - 优化排版和移动端显示
This commit is contained in:
@@ -764,9 +764,8 @@ function getDel($url, $type)
|
||||
*/
|
||||
function is_who_login($user)
|
||||
{
|
||||
if (empty($user)) {
|
||||
if ($user == 'status') {
|
||||
if (checkLogin() == 205 || checkLogin() == 204) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
$status = json_decode(_login(), true);
|
||||
@@ -1506,7 +1505,7 @@ function rand_imgurl($text = null)
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取当前版本号
|
||||
* 获取当前版本号 | 读取字符串
|
||||
* @param String $file 文件相对路径
|
||||
* @return String 内容信息
|
||||
*/
|
||||
@@ -1519,7 +1518,7 @@ function get_current_version($file = '/admin/version.php')
|
||||
return file_get_contents($file);
|
||||
}
|
||||
|
||||
return 'No Version File';
|
||||
return 'file does not exist';
|
||||
}
|
||||
|
||||
// 压缩图片与图片鉴黄
|
||||
|
||||
Reference in New Issue
Block a user