Skip to content

Commit

Permalink
use getenv instead of $_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Wiggins authored and Pedro Belo committed Nov 1, 2011
1 parent 2a8cbc0 commit 9dfcb6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public static function base64UrlDecode($input) {

function FB() {
$fb = new Facebook(array(
'appId' => $_ENV['FACEBOOK_APP_ID'],
'secret' => $_ENV['FACEBOOK_SECRET']
'appId' => getenv('FACEBOOK_APP_ID'),
'secret' => getenv('FACEBOOK_SECRET')
));
header('P3P: CP=HONK'); // cookies for iframes in IE
session_start();
Expand Down

0 comments on commit 9dfcb6d

Please sign in to comment.