Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.
This repository was archived by the owner on May 19, 2021. It is now read-only.

it would be nice if there was a specific define set to detect if your script is running within a phar #19

@ppetermann

Description

@ppetermann

Aloha,

basically it would be nice to have some sort of define ("BOX_PHAR".. something like that), which explicitely allows to detect if a script is run from within a phar file.

right now I'm abusing the BOX_EXTRACT_PATTERN_DEFAULT one for that, and that feels like a cheat.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions