Skip to content

Instantly share code, notes, and snippets.

@hiromi2424
Created December 6, 2011 01:42
Show Gist options
  • Save hiromi2424/1436304 to your computer and use it in GitHub Desktop.
Save hiromi2424/1436304 to your computer and use it in GitHub Desktop.
<?php
public $components = array(
'RequestHandler' => array(
// 'enabled' => false,
),
'DebugKit.Toolbar' => array(
'history' => 5,
'panels' => array(
'Interactive.interactive',
),
),
'Secured.Ssl' => array(
'autoRedirect' => __SSL__REDIRECT,
'prefixes' => array(
),
'secured' => array(
),
'allowed' => array(
),
),
'Security',
'Cookie' => array(
// 'name' => '',
),
'Session',
'Hack.Alias' => array(
'Auth' => 'AppAuth',
'Transition' => 'AppTransition',
'DisableActions' => 'AppDisableActions',
),
'Ninja.PageTitle',
'Ninja.ConfigViewCache',
'Maintenance.Maintenance' => array(
'maintenanceUrl' => array(
'controller' => 'pages',
'action' => 'maintenance',
),
),
'Ninja.RoleAuthorize',
'Ninja.AllowDeny',
);
public $helpers = array(
'Hack.Alias' => array(
'Html' => 'AppHtml',
'Form' => 'AppForm',
'Twitter' => 'AppTwitter',
),
'Text',
'Time',
'Session',
'Js',
'Ninja.Auth',
'Ninja.Menu',
'Cache',
'Thumbnail',
'AppTwitter',
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment