Skip to content

Instantly share code, notes, and snippets.

View keithics's full-sized avatar

Keith Levi Lumanog keithics

View GitHub Profile
<?php
// Resizer and Image Manipulation
// Based on: http://forums.laravel.com/viewtopic.php?id=2648
public function post_edit_logo($id)
{
$rules = array('logo' => 'image');
$input = Input::file('logo');
$validation = Validator::make($input, $rules);
//file not valid