| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php defined('BASEPATH') OR exit('No direct script access allowed'); |
||
| 16 | public function test() { |
||
| 17 | |||
| 18 | if (in_array('CN=Dashboard_Admin,OU=Dashboard_Group,OU=Intranet_Group,OU=Groups,DC=cant-col,DC=ac,DC=uk', $_SESSION['ldap']['groups'])) { |
||
| 19 | |||
| 20 | $this->load->view('templates/header'); |
||
| 21 | $this->load->view('test'); |
||
| 22 | $this->load->view('templates/footer'); |
||
| 23 | } |
||
| 24 | } |
||
| 25 | } // END controller |
||
| 26 |