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

add CLI check to PHP helper #34

Closed
bnomei opened this issue Aug 12, 2024 · 1 comment
Closed

add CLI check to PHP helper #34

bnomei opened this issue Aug 12, 2024 · 1 comment

Comments

@bnomei
Copy link

bnomei commented Aug 12, 2024

otherwise it will throw errors while running in the official CLI.

(function /* staticache */ () {
    if (php_sapi_name() === 'cli') {
        return;
    }

    $root = __DIR__.'/../storage/cache';
@bastianallgeier bastianallgeier added the missing: information ❓ Requires more information to proceed label Oct 1, 2024
@bastianallgeier
Copy link
Member

Where would you put this? I'm a bit lost :)

@lukasbestle lukasbestle removed the missing: information ❓ Requires more information to proceed label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants