This file contains hidden or 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
<?php | |
// Facebook App id & secret | |
$fb_app_id = isset($fb_app_id) ? $fb_app_id : NULL; | |
$fb_app_secret = isset($fb_app_secret) ? $fb_app_secret : NULL; | |
$access_token = $fb_app_id . '|' . $fb_app_secret; | |
// Other options | |
$page_id = isset($page_id) ? $page_id : NULL ; | |
$chunk = isset($chunk) ? $chunk : 'getPageFeedTpl' ; |
This file contains hidden or 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
# This is an annotated subset of the Nginx configuration from our Magento production platform @ www.hypernode.com | |
# See https://www.byte.nl/blog/magento-cacheleak-issue | |
user app; | |
worker_processes 4; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 768; | |
} |
This file contains hidden or 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
<?php | |
// Type: Snippet | |
$recipient = $hook->getValue('reason'); | |
if($recipient == 'one'){ | |
$email = ''; | |
} | |
elseif($recipient == 'two'){ | |
$email = ''; | |
} |