summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 0848d7470..1ac3a79c9 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -9,13 +9,15 @@
class File extends CI_Controller {
- var $data = array();
- var $var;
+ public $data = array();
+ public $var;
function __construct()
{
parent::__construct();
+ $this->var = new StdClass();
+
$this->load->library('migration');
if ( ! $this->migration->current()) {
show_error($this->migration->error_string());