Environment::scriptName()
  => string(33) "/environment-vs-request/index.php"
Request::getBaseUrl()    
  => string(33) "/environment-vs-request/index.php"
  
    
      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
    
  
  
    
  | #if (${TYPE_HINT} == "string" || ${TYPE_HINT} == "int" || ${TYPE_HINT} == "float" || ${TYPE_HINT} == "double" || ${TYPE_HINT} == "bool") | |
| #set ($CAST = "(${TYPE_HINT}) ") | |
| #set ($PARAM_HINT = "") | |
| #else | |
| #set ($CAST = "") | |
| #set ($PARAM_HINT = "${TYPE_HINT} ") | |
| #end | |
| /** | |
| * @param ${TYPE_HINT} $${PARAM_NAME} | |
| * | 
  
    
      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 | |
| /** | |
| * Hint: this will overwrite the template for ALL mailings!!! | |
| * There is no solution yet to manipulate this in a simple way for each theme/layout. | |
| */ | |
| foreach ($GLOBALS['AVISOTA_MAILCHIMP_TEMPLATE']['templates'] as &$template) { | |
| $template['cells']['header']['content'] = '<h1>My superious newsletter: ##message.subject##</h2>'; | |
| $template['cells']['footer']['content'] = '<p>Acme Company, Master street 123, 45677 Example town, USA</p>'; | 
  
    
      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 | |
| $class = new \ReflectionClass('Composer\\Autoload\\ClassLoader'); | |
| var_dump($class->getFileName()); | |
| exit; | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| if [ -t 1 ]; then | |
| CGREEN="\033[0;32m" | |
| CYELLOW="\033[1;33m" | |
| CNONE="\033[0m" | |
| fi | |
| MYSQL_USER="root" | |
| MYSQL_PASS="" | 
  
    
      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
    
  
  
    
  | require ["variables", "fileinto", "mailbox"]; | |
| if header :matches "list-id" "*/* <*.github.com>" { | |
| set "owner" "${1}"; | |
| set "repo" "${2}"; | |
| fileinto :create "abo_github.${owner}.${repo}"; | |
| stop; | |
| } | 
  
    
      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
    
  
  
    
  | var select = document.getElementById('addtype'); | |
| if (select) { | |
| function fixSubmit() { | |
| setTimeout(function() { | |
| input = document.getElementById('add_name'); | |
| input.onkeyup = function(event) { | |
| if (13 == event.keyCode) { | |
| rr.add_commit(); | |
| } | 
  
    
      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 | |
| $iterations = 1000000; | |
| echo <<<PHP | |
| <?php | |
| \$iterations = $iterations; | |
| \$style = 'default'; | |
| PHP; | 
  
    
      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 | |
| class Shipping | |
| { | |
| public function isAvailable() | |
| { | |
| // HOOK: allow to add custom logic | |
| if (isset($GLOBALS['ISO_HOOKS']['shippingIsAvailable']) && is_array($GLOBALS['ISO_HOOKS']['shippingIsAvailable'])) | |
| { | |
| foreach ($GLOBALS['ISO_HOOKS']['shippingIsAvailable'] as $callback) | 
  
    
      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 | |
| ... | |
| /** | |
| * Symfony session storage | |
| */ | |
| $memcached = new \Memcached(); | |
| $memcached->addServer($GLOBALS['TL_CONFIG']['sessionMemcachedHost'], $GLOBALS['TL_CONFIG']['sessionMemcachedPort']); |