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

Re-Enable locale storage for PWA screenshots (privacy) #28

Open
carstingaxion opened this issue Sep 4, 2023 · 0 comments
Open

Re-Enable locale storage for PWA screenshots (privacy) #28

carstingaxion opened this issue Sep 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@carstingaxion
Copy link
Member

	// $new_name = 'pwa-'.$new_name.'.jpeg';

	// $dir = $this->set_screenshots_dir_path(); // !
	// $new_file = $dir.'/'.$new_name;

	// already cached ?
	// DISABLED,
	// because it's nothing saved
	// to pick up here
	// if (
	// file_exists($new_file)
	// &&
	// file not older than 7 days
	// ! ( time() - filemtime($new_file) > 7 * 24 * 3600 )
	// file not older than 60 seconds // DEBUG
	// ! ( time() - filemtime($new_file) > 60 )
	// )
	// return $this->set_screenshots_dir_url() . $new_name; //!

Old stuff of

// $new_name = 'pwa-'.$new_name.'.jpeg';

@carstingaxion carstingaxion added the bug Something isn't working label Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant