mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-08 04:55:22 +00:00
Clean up
This commit is contained in:
@@ -10,7 +10,7 @@ const CLIENT_ID = 'XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleuser
|
||||
const CLIENT_SECRET = 'XXXXXXXXXXXXXXXXXXXXXXXX';
|
||||
const REDIRECT_URI = 'https://www.example.com/oauth2callback';
|
||||
|
||||
if (php_sapi_name() !== 'cli') {
|
||||
if (PHP_SAPI !== 'cli') {
|
||||
throw new Exception('This application must be run on the command line.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user