Skip to content

Instantly share code, notes, and snippets.

Avatar

Geoffrey Hoffman phpguru

View GitHub Profile
View Crypt.php
<?php
class Crypt {
/**
* The encryption cipher
*
* @var string
*/
static public $cipher = MCRYPT_RIJNDAEL_256;
View Curl.php
<?php
class Curl {
/**
* cURL request method
*
* @var string
*/
protected $_method = 'GET';
View Input.php
<?php
class Input {
/**
* Protocol (http or https)
*
* @return string
*/
static public function protocol() {
View Autoload.php
<?php
/**
* TODO: Add support for namespaces... If we ever move to PHP 5.3+
*/
class Autoload {
/**
* Class directories
*
View Environment.php
<?php
class Environment {
/**
* Current environment
*
* @var string
*/
static protected $env;