Created
March 7, 2017 14:32
-
-
Save krabello/b3672f967d256ea2e9dcc53bc0b52370 to your computer and use it in GitHub Desktop.
only cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// only run this script in CLI | |
(PHP_SAPI !== 'cli' || isset($_SERVER['HTTP_USER_AGENT'])) && die('cli only'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment