Created
November 9, 2015 17:16
-
-
Save anovikov1984/26171049f575643a7829 to your computer and use it in GitHub Desktop.
Appending PubNub keys while generating template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var pubnub = PUBNUB.init({ | |
publish_key: '<?php echo getenv("PUBNUB_PUBLISH_KEY"); ?>', | |
subscribe_key: '<?php echo getenv("PUBNUB_SUBSCRIBE_KEY"); ?>' | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment