/home1/tichenne/public_html/ncca/noah/modules/cookie/cookie.php [ 36 ]
31 'Encrypt' => array(
32 'defaultGroup' => 'default',
33 'groups' => array(
34 'default' => array(
35 'key' => '$4jl@&^*', // make it more complicate
36 'mode' => MCRYPT_MODE_NOFB, // http://www.php.net/manual/en/mcrypt.constants.php
37 'cipher' => MCRYPT_RIJNDAEL_128, // http://www.php.net/manual/en/mcrypt.ciphers.php
38 ),
39 ),
40 ),
41 );
-
/home1/tichenne/public_html/ncca/noah/modules/cookie/cookie.php [ 36 ] » Debug->errorHandler(arguments)
0integer 2
1string(125) "Use of undefined constant MCRYPT_MODE_NOFB - assumed 'MCRYPT_MODE_NOFB' (this will throw an Error in a future version of PHP)"2string(63) "/home1/tichenne/public_html/ncca/noah/modules/cookie/cookie.php"3integer 36
4array(1) ( "id" => null )
31 'Encrypt' => array( 32 'defaultGroup' => 'default', 33 'groups' => array( 34 'default' => array( 35 'key' => '$4jl@&^*', // make it more complicate 36 'mode' => MCRYPT_MODE_NOFB, // http://www.php.net/manual/en/mcrypt.constants.php 37 'cipher' => MCRYPT_RIJNDAEL_128, // http://www.php.net/manual/en/mcrypt.ciphers.php 38 ), 39 ), 40 ), 41 ); -
/home1/tichenne/public_html/ncca/noah/modules/noah/base.php [ 101 ] » Cookie->_afterConstruct(arguments)
0null
96 : null; 97 $this->_adapter = Noah::factory($adapter, null, 98 $this->_allConfig); 99 } 100 101 $this->_afterConstruct($id); 102 } 103 104 /** 105 * set config 106 * -
/home1/tichenne/public_html/ncca/noah/modules/noah/noah.php [ 214 ] » Noah_Base->__construct(arguments)
0array(1) ( "Cookie" => array(5) ( "path" => string(1) "/" "lifetime" => integer 604800 "secure" => bool FALSE "httponly" => bool FALSE "encrypt" => bool TRUE ) )
1null
209 210 $classWithId = $class.':'.strval($id); 211 212 if(!isset($classes[$classWithId])) 213 { 214 $classes[$classWithId] = new $class($config, $id); 215 } 216 217 return $classes[$classWithId]; 218 } 219 -
/home1/tichenne/public_html/ncca/admin/classes/controller/template.php [ 13 ] » Noah::instance(arguments)
0string(6) "Cookie"8 public function before() 9 { 10 parent::before(); 11 12 $app = Noah::instance('App'); 13 $cookie = Noah::instance('Cookie'); 14 if(!($app->getController() == 'auth' && $app->getAction() == 'login') && !$cookie->get('username')) 15 { 16 $this->_response->redirect(URL::create('login')); 17 } 18 -
{PHP internal call} » Controller_Template->before()
-
/home1/tichenne/public_html/ncca/noah/modules/app/app.php [ 271 ] » ReflectionMethod->invoke(arguments)
0object Controller_Default(6)
{ public template => string(8) "template" protected _autoRender => bool TRUE protected _response => object Response(10){ private _status => integer 200 private _headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) private _body => null private _cookies => array(0) private _request => object Request(10)protected _request => object Request(10){ private _baseUrl => null private _scriptUrl => null private _url => null private _pathinfo => null private _requestUri => null protected _config => array(1) ( "autoFilter" => bool FALSE ) protected _allConfig => array(1) ( "Request" => array(1) ( "autoFilter" => bool FALSE ) ) protected _adapter => string(0) "" protected _adaptable => bool FALSE protected _importedFuncs => array(0) }protected _config => array(0) protected _allConfig => null protected _adapter => string(0) "" protected _adaptable => bool FALSE protected _importedFuncs => array(0) }{ private _baseUrl => string(10) "/index.php" private _scriptUrl => string(10) "/index.php" private _url => null private _pathinfo => null private _requestUri => string(1) "/" protected _config => array(0) protected _allConfig => null protected _adapter => string(0) "" protected _adaptable => bool FALSE protected _importedFuncs => array(0) }protected _profiler => object Profiler(6){ protected _marks => array(0) protected _adaptable => bool TRUE protected _config => array(2) ( "adapter" => string(21) "Profiler_Adapter_Page" "enabled" => bool TRUE ) protected _allConfig => array(1) ( "Profiler" => array(2) ( "adapter" => string(21) "Profiler_Adapter_Page" "enabled" => bool TRUE ) ) protected _adapter => object Profiler_Adapter_Page(0)protected _app => object App(11){ }protected _importedFuncs => array(0) }{ protected _uri => string(1) "/" protected _route => object Route(13)}{ protected defaultAction => string(5) "index" protected _routes => array(0) protected _callback => null protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _host => null protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(7) "default" "action" => string(5) "index" "id" => string(0) "" ) protected _routeRegex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" protected _config => array(2) ( "uri" => string(32) "(<controller>(/<action>(/<id>)))" "regex" => null ) protected _allConfig => array(1) ( "Route" => array(2) ( "uri" => string(32) "(<controller>(/<action>(/<id>)))" "regex" => null ) ) protected _adapter => string(0) "" protected _adaptable => bool FALSE protected _importedFuncs => array(0) }protected _directory => null protected _controller => string(7) "default" protected _action => string(5) "index" protected _params => array(1) ( "id" => string(0) "" ) protected _config => array(1) ( "classPath" => array(2) ( 0 => string(46) "/home1/tichenne/public_html/ncca/admin/classes" 1 => string(40) "/home1/tichenne/public_html/ncca/classes" ) ) protected _allConfig => array(1) ( "App" => array(1) ( "classPath" => array(2) ( 0 => string(46) "/home1/tichenne/public_html/ncca/admin/classes" 1 => string(40) "/home1/tichenne/public_html/ncca/classes" ) ) ) protected _adapter => string(0) "" protected _adaptable => bool FALSE protected _importedFuncs => array(0) }266 267 // Create a new instance of the controller 268 $controller = $class->newInstance(); 269 270 if($class->hasMethod('before')) 271 $class->getMethod('before')->invoke($controller); 272 273 // Determine the action to use 274 $action = $this->_action; 275 276 $params = $this->_params; -
/home1/tichenne/public_html/ncca/noah/modules/app/app.php [ 87 ] » App->_execute()
82 return; 83 84 spl_autoload_register(array($this, 'autoload')); 85 86 $this->_preExecute(); 87 $this->_execute(); 88 89 $started = true; 90 91 return $this; 92 } -
/home1/tichenne/public_html/ncca/admin/adminroot/index.php [ 43 ] » App->start()
38 'id' => '', 39 )); 40 41 $debug = Noah::instance('Debug'); 42 43 Noah::instance('App')->start()->render();