diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-04-08 04:46:00 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-04-08 04:46:00 +0000 |
commit | 44006a35dd6a7e74f0e3218da54b31a0ea3f571b (patch) | |
tree | 9888f9ba11cc6073460aecf0c38a433dce571920 /scripts/synctwitterfriends.php | |
parent | f21077ce55f3157e1343cf1c80f5e5d4dfb578ab (diff) |
Better debugging output flag
Diffstat (limited to 'scripts/synctwitterfriends.php')
-rwxr-xr-x | scripts/synctwitterfriends.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/synctwitterfriends.php b/scripts/synctwitterfriends.php index d108416f4..794301f0f 100755 --- a/scripts/synctwitterfriends.php +++ b/scripts/synctwitterfriends.php @@ -27,8 +27,8 @@ if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) { define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); define('LACONICA', true); -// Set this to true to get useful console output -define('SCRIPT_DEBUG', false); +// Uncomment this to get useful console output +//define('SCRIPT_DEBUG', true); require_once(INSTALLDIR . '/lib/common.php'); @@ -62,7 +62,7 @@ while ($flink->fetch()) { $result = save_twitter_friends($user, $fuser->id, $fuser->nickname, $flink->credentials); - if (SCRIPT_DEBUG) { + if (defined('SCRIPT_DEBUG')) { print "\nDONE\n"; } else { print "DONE\n"; |