Skip to content

Instantly share code, notes, and snippets.

@ckdarby
Created June 7, 2012 01:11
Show Gist options
  • Save ckdarby/2885887 to your computer and use it in GitHub Desktop.
Save ckdarby/2885887 to your computer and use it in GitHub Desktop.
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* application/controller/welcome.php
*
*/
class Welcome extends CI_Controller {
public function index()
{
$this->load->helper('file');
$source_dir = BASEPATH."../assets/test/language/";
$test = get_dir_file_info($source_dir, FALSE);
var_dump($test);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment