From 0b59f270a432f8c7b6128981f0a39b4a2e2fbd34 Mon Sep 17 00:00:00 2001
From: Derek Jones
Classes should have this basic prototype (Note: We are using the name Someclass purely as an example):
-<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Someclass {
@@ -137,7 +137,7 @@ $this->load->library('Someclass', $params);
If you use this feature you must set up your class constructor to expect data:
-<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Someclass {
--
cgit v1.2.3-24-g4f1b