Skip to content

Commit

Permalink
changing default origin to PHP.pubnub.com
Browse files Browse the repository at this point in the history
  • Loading branch information
geremy cohen committed Dec 7, 2012
1 parent d2561ad commit f89da02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions php/3.3/Pubnub.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
class Pubnub
{
private $ORIGIN = 'pubsub.pubnub.com';
private $ORIGIN = 'PHP.pubnub.com';
private $PUBLISH_KEY = 'demo';
private $SUBSCRIBE_KEY = 'demo';
private $SECRET_KEY = false;
Expand Down Expand Up @@ -63,8 +63,8 @@ function Pubnub(
if ($origin)
$this->ORIGIN = $origin;

if ($this->ORIGIN == "pubsub.pubnub.com") {
trigger_error("Before running in production, please contact support@pubnub.com for your custom origin.", E_USER_NOTICE);
if ($this->ORIGIN == "PHP.pubnub.com") {
trigger_error("Before running in production, please contact support@pubnub.com for your custom origin. Please set the origin to IUNDERSTAND.pubnub.com to continue.", E_USER_NOTICE);
}


Expand Down

0 comments on commit f89da02

Please sign in to comment.