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

PhotoShow feels slow? There is a way (PhotoShow加载慢?我有办法) #376

Open
cheng-zheng opened this issue Apr 3, 2020 · 1 comment

Comments

@cheng-zheng
Copy link

Menu recursion is too slow

It's faster if you delete it

/src/classes/Menu.php : 80 line
if(!CurrentUser::$admin && !CurrentUser::$uploader && sizeof($this->list_files($dir,true,false,true)) == 0){
instead
if(!CurrentUser::$admin && !CurrentUser::$uploader && sizeof($this->list_files($dir,false,false,true)) == 0){

@yllekz
Copy link

yllekz commented Jan 2, 2021

I'm also experiencing general slowness using photoshow. I agree, the menus take a while to load and generate.

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

2 participants