Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx反向代理之后历史标签页跳转路径错误 #114

Closed
PGiant opened this issue May 9, 2023 · 4 comments
Closed

nginx反向代理之后历史标签页跳转路径错误 #114

PGiant opened this issue May 9, 2023 · 4 comments

Comments

@PGiant
Copy link

PGiant commented May 9, 2023

在网站设置-网站域名 | 末尾不加'/'和图片域名 | 末尾不加'/'配置了反向代理路径之后历史标签的跳转路径错误

image

鼠标放在历史标签上显示路径

image

nginx配置

image

@PGiant
Copy link
Author

PGiant commented May 9, 2023

当前版本:2.8.1

@PGiant
Copy link
Author

PGiant commented May 10, 2023

https://github.com/icret/EasyImages2.0/blob/master/app/header.php
<?php /** 非管理或未开启不显示上传历史 */ if ($config['history'] || is_who_login('admin')) : ?> <li><a href="<?php $config['domain']; ?>/app/history.php"><i class="icon icon-history"></i> 历史<span class="label label-badge label-primary"></span></a></li> <?php endif; ?>
是不是少了echo?我是做java开发的,不太了解php

@icret
Copy link
Owner

icret commented May 10, 2023

https://github.com/icret/EasyImages2.0/blob/master/app/header.php <?php /** 非管理或未开启不显示上传历史 */ if ($config['history'] || is_who_login('admin')) : ?> <li><a href="<?php $config['domain']; ?>/app/history.php"><i class="icon icon-history"></i> 历史<span class="label label-badge label-primary"></span></a></li> <?php endif; ?> 是不是少了echo?我是做java开发的,不太了解php

是的,可以添加一个echo

@a775566233
Copy link

https://github.com/icret/EasyImages2.0/blob/master/app/header.php <?php /** 非管理或未开启不显示上传历史 */ if ($config['history'] || is_who_login('admin')) : ?> <li><a href="<?php $config['domain']; ?>/app/history.php"><i class="icon icon-history"></i> 历史<span class="label label-badge label-primary"></span></a></li> <?php endif; ?> 是不是少了echo?我是做java开发的,不太了解php

是的,可以添加一个echo

有教程吗?

@icret icret closed this as completed in 3603504 May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants