Permalink
Browse files

standard PEAR style file naming convention

  • Loading branch information...
1 parent 2f091d5 commit 36abdf2da206d5a17e6ad115906b07191dc51bd8 @ceefour committed Sep 28, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 jymengine.class.php → Yahoo/Messenger/Engine.php
  2. +2 −2 client.php
@@ -27,7 +27,7 @@
*
*/
-class JYMEngine
+class Yahoo_Messenger_Engine
{
const URL_OAUTH_DIRECT = 'https://login.yahoo.com/WSLogin/V1/get_auth_token';
const URL_OAUTH_ACCESS_TOKEN = 'https://api.login.yahoo.com/oauth/v2/get_token';
View
@@ -31,9 +31,9 @@
define('CONSUMER_KEY', '');
define('SECRET_KEY', '');
-include_once 'jymengine.class.php';
+require_once 'Yahoo/Messenger/Engine.php';
-$engine = new JYMEngine(CONSUMER_KEY, SECRET_KEY, USERNAME, PASSWORD);
+$engine = new Yahoo_Messenger_Engine(CONSUMER_KEY, SECRET_KEY, USERNAME, PASSWORD);
$engine->debug = false;
if ($engine->debug) echo '> Fetching request token'. PHP_EOL;

0 comments on commit 36abdf2

Please sign in to comment.