summaryrefslogtreecommitdiffstats
path: root/lib/SendGrid/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SendGrid/config.php')
-rw-r--r--lib/SendGrid/config.php36
1 files changed, 0 insertions, 36 deletions
diff --git a/lib/SendGrid/config.php b/lib/SendGrid/config.php
deleted file mode 100644
index 5c4383e..0000000
--- a/lib/SendGrid/config.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
- * Environment Variable Configuration
- *
- * PHP version 5.2
- *
- * @author Matt Bernier <dx@sendgrid.com>
- * @author Elmer Thomas <dx@sendgrid.com>
- * @copyright 2016 SendGrid
- * @license https://opensource.org/licenses/MIT The MIT License
- * @version GIT: <git_id>
- * @link http://packagist.org/packages/sendgrid/php-http-client
- */
-namespace SendGrid;
-
-/**
- * Sets environment variables.
- */
-class Config
-{
- /**
- * Setup the environment variables
- *
- * @param string $base_path path to your config file.
- * @param string $config_filename name of the config file.
- */
- function __construct($base_path, $config_filename)
- {
- $handle = fopen($base_path.'/'.$config_filename, "r");
- while (($line = fgets($handle)) !== false) {
- putenv(trim(preg_replace('/\s+/', ' ', $line)));
- }
- fclose($handle);
- }
-}
-?>