Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

comment line where origin should be changed

  • Loading branch information...
commit 01039641b2c1fa9af235d318f12cd02bbe2025f5 1 parent f89da02
geremy cohen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 php/3.3/Pubnub.php
View
4 php/3.3/Pubnub.php
@@ -7,7 +7,7 @@
*/
class Pubnub
{
- private $ORIGIN = 'PHP.pubnub.com';
+ private $ORIGIN = 'PHP.pubnub.com'; // Change this to your custom origin, or IUNDERSTAND.pubnub.com
private $PUBLISH_KEY = 'demo';
private $SUBSCRIBE_KEY = 'demo';
private $SECRET_KEY = false;
@@ -64,7 +64,7 @@ function Pubnub(
$this->ORIGIN = $origin;
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);
+ trigger_error("Before running in production, please contact support@pubnub.com for your custom origin.\nPlease set the origin from PHP.pubnub.com to IUNDERSTAND.pubnub.com to remove this warning.\n", E_USER_NOTICE);
}
Please sign in to comment.
Something went wrong with that request. Please try again.