diff options
Diffstat (limited to 'system/libraries/Controller.php')
-rw-r--r-- | system/libraries/Controller.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php index 1a1e3df53..5c96c577a 100644 --- a/system/libraries/Controller.php +++ b/system/libraries/Controller.php @@ -1,4 +1,4 @@ -<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
@@ -111,7 +111,7 @@ class Controller extends CI_Base { show_404('Scaffolding unavailable');
}
- $method = (! in_array($this->uri->segment(3), array('add', 'insert', 'edit', 'update', 'view', 'delete', 'do_delete'), TRUE)) ? 'view' : $this->uri->segment(3);
+ $method = ( ! in_array($this->uri->segment(3), array('add', 'insert', 'edit', 'update', 'view', 'delete', 'do_delete'), TRUE)) ? 'view' : $this->uri->segment(3);
require_once(BASEPATH.'scaffolding/Scaffolding'.EXT);
$scaff = new Scaffolding($this->_ci_scaff_table);
@@ -121,6 +121,6 @@ class Controller extends CI_Base { }
// END _Controller class
- -/* End of file Controller.php */ +
+/* End of file Controller.php */
/* Location: ./system/libraries/Controller.php */
\ No newline at end of file |