Skip to content

Instantly share code, notes, and snippets.

View codee's full-sized avatar

Alexander Lee codee

View GitHub Profile
@codee
codee / image_autorotate.php
Last active April 29, 2023 16:13
CodeIgniter: Automatic image rotation library
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* @file application/libraries/Image_autorotate.php
*/
class Image_autorotate
{
function __construct($params = NULL) {
if (!is_array($params) || empty($params)) return FALSE;