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
    
  
  
    
  | -- enable extensions | |
| -- full-text search on postgresql | |
| CREATE EXTENSION unaccent; | |
| -- languages supported | |
| CREATE TEXT SEARCH CONFIGURATION fr ( COPY = french ); | |
| ALTER TEXT SEARCH CONFIGURATION fr ALTER MAPPING | |
| FOR hword, hword_part, word WITH unaccent, french_stem; | |
| CREATE TEXT SEARCH CONFIGURATION en ( COPY = english ); | 
  
    
      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 S3 { | |
| private $key = 'ABC123'; | |
| private $secret = 'lolftw'; | |
| private $region = 'us-west-2'; | |
| private $bucket = 'examplebucket'; | |
| private $host = 's3.amazonaws.com'; | 
  
    
      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 | |
| /* | |
| ABSTRACT | |
| s3SimpleUpload.php is a standalone (no AWS SDK), intentionally verbose, upload only S3 class utilizing the AWS API, Signature Version 4. | |
| Options include defining the s3_prefix path, regardless of the origination path, or using the source file's origination prefix path (default). | |
| USAGE | 
  
    
      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 | |
| use Psr\Log\LoggerInterface; | |
| /** | |
| * Assembles and dispatches the SOAP request body XML and returns the | |
| * Response body XML from the vendor API. | |
| */ | |
| class Request | |
| { |