Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
home
/
getwphos
/
pos.getwphost.com
/
metrothemes
/
app
/
core
/
File Content:
MY_Loader.php
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); class MY_Loader extends CI_Loader{ function __construct() { parent::__construct(); } public function view($view, $vars = array(), $return = FALSE) { $nv = $view; $path = explode('/', $view); if($path[0] != 'default') { $file = str_replace('/', DIRECTORY_SEPARATOR, $view).'.php'; if(!file_exists(VIEWPATH.$file)) { die($path[0]); $len = count($path); $i = 0; $path[0] = 'default'; $nv = ''; foreach($path as $p) { if ($i == $len - 1) { $nv .= $p; } else { $nv .= $p.'/'; } $i++; } } } return $this->_ci_load(array('_ci_view' => $nv, '_ci_vars' => $this->_ci_prepare_view_vars($vars), '_ci_return' => $return)); } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
MY_Controller.php
3063 bytes
0644
MY_Lang.php
922 bytes
0644
MY_Loader.php
1005 bytes
0644
index.html
114 bytes
0644
N4ST4R_ID | Naxtarrr