diff options
Diffstat (limited to 'application/controllers')
-rw-r--r-- | application/controllers/welcome.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index 3c2f7e1cf..79689f012 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -1,10 +1,10 @@ -<?php +<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Welcome extends CI_Controller { - function Welcome() + function __construct() { - parent::CI_Controller(); + parent::__construct(); } function index() |