This commit is contained in:
Zach Borboa
2021-07-26 00:35:01 -04:00
parent 4353baa2f2
commit 6ceabf7293
9 changed files with 16 additions and 16 deletions
@@ -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.');
}