- Timestamp:
- Aug 8, 2019 10:01:13 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/user.cli.php
r686 r695 61 61 } 62 62 63 if (!isset($db) || ! is_a($db, 'DB')) {63 if (!isset($db) || !($db instanceof \DB)) { 64 64 echo "This project doesn't have a \$db object.\n"; 65 65 exit(1); 66 66 } 67 67 68 if (!isset($auth) || ! is_a($auth, 'Auth_SQL')) {68 if (!isset($auth) || !($auth instanceof \Auth_SQL)) { 69 69 echo "This project doesn't have an \$auth object.\n"; 70 70 exit(1);
Note: See TracChangeset
for help on using the changeset viewer.