SQLSTATE[28000] [1045] Access denied for user 'freewayrio_web'@'186.202.153.91' (using password: YES)
Error: An Internal Error Has Occurred.
Stack Trace
- CORE/Cake/Model/Datasource/DboSource.php line 260 → Mysql->connect()
));
}
if ($autoConnect) {
$this->connect();
}
- CORE/Cake/Model/ConnectionManager.php line 105 → DboSource->__construct(array)
'message' => 'Datasource is not found in Model/Datasource package.'
));
}
self::$_dataSources[$name] = new $class(self::$config->{$name});
self::$_dataSources[$name]->configKeyName = $name;
array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'prefix' => '*****', 'datasource' => 'Database/Mysql', 'persistent' => false, 'encoding' => 'utf8' )
- CORE/Cake/Model/Model.php line 3617 → ConnectionManager::getDataSource(string)
$this->useDbConfig = $dataSource;
}
$db = ConnectionManager::getDataSource($this->useDbConfig);
if (!empty($oldConfig) && isset($db->config['prefix'])) {
'default'
- CORE/Cake/Model/Model.php line 1155 → Model->setDataSource(string)
* @return void
*/
public function setSource($tableName) {
$this->setDataSource($this->useDbConfig);
$db = ConnectionManager::getDataSource($this->useDbConfig);
'default'
- CORE/Cake/Model/Model.php line 3644 → Model->setSource(string)
public function getDataSource() {
if (!$this->_sourceConfigured && $this->useTable !== false) {
$this->_sourceConfigured = true;
$this->setSource($this->useTable);
}
'brw_users'
- CORE/Cake/Model/Model.php line 1387 → Model->getDataSource()
*/
public function schema($field = false) {
if ($this->useTable !== false && (!is_array($this->_schema) || $field === true)) {
$db = $this->getDataSource();
$db->cacheSources = ($this->cacheSources && $db->cacheSources);
- APP/Plugin/Brownie/Model/Behavior/BrwPanelBehavior.php line 265 → Model->schema(string)
public function _sortableConfig($Model) {
if ($Model->brwConfig['sortable']) {
$sortField = $Model->brwConfig['sortable']['field'];
if (!$Model->schema($sortField)) {
$Model->brwConfig['sortable'] = false;
'sort'
- APP/Plugin/Brownie/Model/Behavior/BrwPanelBehavior.php line 233 → BrwPanelBehavior->_sortableConfig(AppModel)
$Model->brwConfig = Set::merge($defaults, $Model->brwConfig);
$this->_virtualFieldsConfig($Model);
$this->_configPerAuthUser($Model);
$this->_sortableConfig($Model);
$this->_paginateConfig($Model);
object(AppModel) { brwConfig => array( 'names' => array( 'section' => 'Usuario', 'plural' => 'Usuarios', 'singular' => 'Usuario', 'gender' => (int) 1 ), 'paginate' => array( 'limit' => (int) 20, 'fields' => array( [maximum depth reached] ), 'images' => array([maximum depth reached]), 'conditions' => array([maximum depth reached]) ), 'index' => array( 'home' => true, 'menu' => true ), 'fields' => array( 'no_add' => array( [maximum depth reached] ), 'no_edit' => array( [maximum depth reached] ), 'no_view' => array( [maximum depth reached] ), 'hide' => array( [maximum depth reached] ), 'export' => array([maximum depth reached]), 'no_export' => array( [maximum depth reached] ), 'no_editor' => array([maximum depth reached]), 'virtual' => array( [maximum depth reached] ), 'conditional' => array([maximum depth reached]), 'code' => array([maximum depth reached]), 'sanitize_html' => array([maximum depth reached]), 'names' => array([maximum depth reached]), 'legends' => array( [maximum depth reached] ), 'filter' => array( [maximum depth reached] ), 'filter_advanced' => array( [maximum depth reached] ), 'date_ranges' => array( [maximum depth reached] ), 'import' => array([maximum depth reached]), 'email' => array([maximum depth reached]) ), 'actions' => array( 'index' => true, 'view' => true, 'add' => true, 'edit' => true, 'delete' => true, 'export' => false, 'import' => false ), 'action_labels' => array( 'index' => 'List all', 'view' => 'View', 'add' => 'Add', 'edit' => 'Edit', 'delete' => 'Delete', 'export' => 'Export', 'import' => 'Import' ), 'custom_actions' => array(), 'global_custom_actions' => array(), 'images' => array(), 'files' => array(), 'default' => array(), 'parent' => null, 'show_children' => true, 'hide_children' => array( (int) 0 => 'BrwImage', (int) 1 => 'BrwFile' ), 'hide_related' => array( 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array([maximum depth reached]), 'hasOne' => array([maximum depth reached]) ), 'sortable' => array( 'field' => 'sort', 'sort' => 'ASC' ), 'export' => array( 'type' => null, 'replace_foreign_keys' => true ) ) recursive => (int) -1 actsAs => array( (int) 0 => 'Containable', (int) 1 => 'Brownie.BrwPanel' ) useDbConfig => 'default' useTable => 'brw_users' displayField => 'email' id => false data => array() schemaName => null table => 'brw_users' primaryKey => 'id' validate => array( 'password' => '*****', 'email' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ), 'repeat_password' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ) validationErrors => array() validationDomain => null plugin => null name => 'BrwUser' alias => 'BrwUser' tableToModel => array( 'brw_users' => 'BrwUser' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'BrwUser' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => null order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) brwConfigPerAuthUser => array( '' => array( 'type' => 'none' ) ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null }
- APP/Plugin/Brownie/Model/Behavior/BrwPanelBehavior.php line 103 → BrwPanelBehavior->brwConfigInit(AppModel)
public function setup(Model $Model, $config = array()) {
if (empty($Model->brwInitiated)) {
$this->brwConfigInit($Model);
$this->_attachUploads($Model);
object(AppModel) { brwConfig => array( 'names' => array( 'section' => 'Usuario', 'plural' => 'Usuarios', 'singular' => 'Usuario', 'gender' => (int) 1 ), 'paginate' => array( 'limit' => (int) 20, 'fields' => array( [maximum depth reached] ), 'images' => array([maximum depth reached]), 'conditions' => array([maximum depth reached]) ), 'index' => array( 'home' => true, 'menu' => true ), 'fields' => array( 'no_add' => array( [maximum depth reached] ), 'no_edit' => array( [maximum depth reached] ), 'no_view' => array( [maximum depth reached] ), 'hide' => array( [maximum depth reached] ), 'export' => array([maximum depth reached]), 'no_export' => array( [maximum depth reached] ), 'no_editor' => array([maximum depth reached]), 'virtual' => array( [maximum depth reached] ), 'conditional' => array([maximum depth reached]), 'code' => array([maximum depth reached]), 'sanitize_html' => array([maximum depth reached]), 'names' => array([maximum depth reached]), 'legends' => array( [maximum depth reached] ), 'filter' => array( [maximum depth reached] ), 'filter_advanced' => array( [maximum depth reached] ), 'date_ranges' => array( [maximum depth reached] ), 'import' => array([maximum depth reached]), 'email' => array([maximum depth reached]) ), 'actions' => array( 'index' => true, 'view' => true, 'add' => true, 'edit' => true, 'delete' => true, 'export' => false, 'import' => false ), 'action_labels' => array( 'index' => 'List all', 'view' => 'View', 'add' => 'Add', 'edit' => 'Edit', 'delete' => 'Delete', 'export' => 'Export', 'import' => 'Import' ), 'custom_actions' => array(), 'global_custom_actions' => array(), 'images' => array(), 'files' => array(), 'default' => array(), 'parent' => null, 'show_children' => true, 'hide_children' => array( (int) 0 => 'BrwImage', (int) 1 => 'BrwFile' ), 'hide_related' => array( 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array([maximum depth reached]), 'hasOne' => array([maximum depth reached]) ), 'sortable' => array( 'field' => 'sort', 'sort' => 'ASC' ), 'export' => array( 'type' => null, 'replace_foreign_keys' => true ) ) recursive => (int) -1 actsAs => array( (int) 0 => 'Containable', (int) 1 => 'Brownie.BrwPanel' ) useDbConfig => 'default' useTable => 'brw_users' displayField => 'email' id => false data => array() schemaName => null table => 'brw_users' primaryKey => 'id' validate => array( 'password' => '*****', 'email' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ), 'repeat_password' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ) validationErrors => array() validationDomain => null plugin => null name => 'BrwUser' alias => 'BrwUser' tableToModel => array( 'brw_users' => 'BrwUser' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'BrwUser' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => null order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) brwConfigPerAuthUser => array( '' => array( 'type' => 'none' ) ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null }
- CORE/Cake/Model/BehaviorCollection.php line 145 → BrwPanelBehavior->setup(AppModel, array)
$config = array();
}
$this->_loaded[$alias]->settings['priority'] = $priority;
$this->_loaded[$alias]->setup(ClassRegistry::getObject($this->modelName), $config);
object(AppModel) { brwConfig => array( 'names' => array( 'section' => 'Usuario', 'plural' => 'Usuarios', 'singular' => 'Usuario', 'gender' => (int) 1 ), 'paginate' => array( 'limit' => (int) 20, 'fields' => array( [maximum depth reached] ), 'images' => array([maximum depth reached]), 'conditions' => array([maximum depth reached]) ), 'index' => array( 'home' => true, 'menu' => true ), 'fields' => array( 'no_add' => array( [maximum depth reached] ), 'no_edit' => array( [maximum depth reached] ), 'no_view' => array( [maximum depth reached] ), 'hide' => array( [maximum depth reached] ), 'export' => array([maximum depth reached]), 'no_export' => array( [maximum depth reached] ), 'no_editor' => array([maximum depth reached]), 'virtual' => array( [maximum depth reached] ), 'conditional' => array([maximum depth reached]), 'code' => array([maximum depth reached]), 'sanitize_html' => array([maximum depth reached]), 'names' => array([maximum depth reached]), 'legends' => array( [maximum depth reached] ), 'filter' => array( [maximum depth reached] ), 'filter_advanced' => array( [maximum depth reached] ), 'date_ranges' => array( [maximum depth reached] ), 'import' => array([maximum depth reached]), 'email' => array([maximum depth reached]) ), 'actions' => array( 'index' => true, 'view' => true, 'add' => true, 'edit' => true, 'delete' => true, 'export' => false, 'import' => false ), 'action_labels' => array( 'index' => 'List all', 'view' => 'View', 'add' => 'Add', 'edit' => 'Edit', 'delete' => 'Delete', 'export' => 'Export', 'import' => 'Import' ), 'custom_actions' => array(), 'global_custom_actions' => array(), 'images' => array(), 'files' => array(), 'default' => array(), 'parent' => null, 'show_children' => true, 'hide_children' => array( (int) 0 => 'BrwImage', (int) 1 => 'BrwFile' ), 'hide_related' => array( 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array([maximum depth reached]), 'hasOne' => array([maximum depth reached]) ), 'sortable' => array( 'field' => 'sort', 'sort' => 'ASC' ), 'export' => array( 'type' => null, 'replace_foreign_keys' => true ) ) recursive => (int) -1 actsAs => array( (int) 0 => 'Containable', (int) 1 => 'Brownie.BrwPanel' ) useDbConfig => 'default' useTable => 'brw_users' displayField => 'email' id => false data => array() schemaName => null table => 'brw_users' primaryKey => 'id' validate => array( 'password' => '*****', 'email' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ), 'repeat_password' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) ) validationErrors => array() validationDomain => null plugin => null name => 'BrwUser' alias => 'BrwUser' tableToModel => array( 'brw_users' => 'BrwUser' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'BrwUser' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => null order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) brwConfigPerAuthUser => array( '' => array( 'type' => 'none' ) ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } array()
- CORE/Cake/Model/BehaviorCollection.php line 66 → BehaviorCollection->load(string, array)
if (!empty($behaviors)) {
foreach (BehaviorCollection::normalizeObjectArray($behaviors) as $config) {
$this->load($config['class'], $config['settings']);
}
'Brownie.BrwPanel' array()
- CORE/Cake/Model/Model.php line 774 → BehaviorCollection->init(string, array)
}
$this->_createLinks();
$this->Behaviors->init($this->alias, $this->actsAs);
}
'BrwUser' array( (int) 0 => 'Containable', (int) 1 => 'Brownie.BrwPanel' )
- CORE/Cake/Utility/ClassRegistry.php line 186 → Model->__construct(array)
}
$settings['name'] = $class;
$instance = new $appModel($settings);
}
array( 'class' => 'BrwUser', 'alias' => 'BrwUser', 'name' => 'BrwUser' )
- APP/Plugin/Brownie/Controller/Component/BrwPanelComponent.php line 17 → ClassRegistry::init(string)
$Controller->params['plugin'] == 'brownie'
);
ClassRegistry::init('BrwUser')->Behaviors->attach('Brownie.BrwUser');
ClassRegistry::init('BrwImage')->Behaviors->attach('Brownie.BrwUpload');
'BrwUser'
- [internal function] → BrwPanelComponent->initialize(OperatorsController)
object(OperatorsController) { components => array( 'Session' => null, 'Auth' => null, 'Brownie.BrwPanel' => null, 'Email' => null ) helpers => array( (int) 0 => 'Html', (int) 1 => 'Form', (int) 2 => 'Session', (int) 3 => 'Time' ) brwMenu => array( 'Menú' => array( 'Quienes somos' => array( [maximum depth reached] ), 'Contactos' => array( [maximum depth reached] ), 'Hoteles' => 'Hotel', 'Habitaciones' => 'Room', 'Paquetes' => 'Pack', 'Traslados' => 'Transfer', 'Excursión' => 'Excursion', 'Fórmula 1' => 'FormulaLocation', 'Reservas' => 'Reserve', 'Receptores de pedidos' => 'ReserveRecipient', 'Pasajeros' => 'Passenger' ), 'Configuración' => array( 'Descuentos' => 'Discount', 'Promociones' => 'Promotion', 'Dead Line' => 'DeadLine', 'Stop Over' => 'StopOver', 'Operadores' => 'Operator', 'Agencias' => 'Agency', 'Tipos de habitaciones' => 'RoomType', 'Tamaños de habitaciones' => 'RoomSize', 'Régimenes de pensión' => 'PensionRegime', 'Ciudades' => 'City', 'Lugares' => 'Place', 'Imagenes de Slider' => 'Slider', 'Feriados y fechas especiales' => 'SpecialDate' ) ) brwMenuPerAuthUser => array( 'Operator' => array( 'Menú' => array( [maximum depth reached] ), 'Operador' => array( [maximum depth reached] ) ) ) name => 'Operators' uses => array( (int) 0 => 'Operator' ) request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'operators/lostpass' base => '' webroot => '/' here => '/operators/lostpass' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Operators' layoutPath => null viewVars => array() view => 'lostpass' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(OperatorsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'login', (int) 1 => 'logout', (int) 2 => 'lostpass', (int) 3 => '_sendPasswordRecovery', (int) 4 => '_sendPasswordRecoveryAgency', (int) 5 => 'recovery', (int) 8 => 'isAuthorized', (int) 9 => '_customAuthSettings', (int) 10 => '_setTitle', (int) 11 => '_setHasAnyReservations', (int) 12 => '_operatorRelated' ) modelClass => 'Operator' modelKey => 'operator' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => false ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => null logoutRedirect => null authError => null unauthorizedRedirect => true allowedActions => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array([maximum depth reached]) [protected] _authenticateObjects => array([maximum depth reached]) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } BrwPanel => object(BrwPanelComponent) { controller => object(OperatorsController) {} isBrwPanel => false settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Email => object(EmailComponent) { to => null from => null replyTo => null readReceipt => null return => null cc => array([maximum depth reached]) bcc => array([maximum depth reached]) date => null subject => null headers => array([maximum depth reached]) additionalParams => null layout => 'default' template => null lineFeed => '' sendAs => 'text' delivery => 'mail' charset => 'utf-8' attachments => array([maximum depth reached]) xMailer => 'CakePHP Email Component' filePaths => array([maximum depth reached]) smtpOptions => array([maximum depth reached]) textMessage => null htmlMessage => null messageId => true settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _controller => object(OperatorsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } }
- CORE/Cake/Utility/ObjectCollection.php line 128 → call_user_func_array(array, array)
}
$result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
if ($options['collectReturn'] === true) {
array( (int) 0 => object(BrwPanelComponent) { controller => object(OperatorsController) {} isBrwPanel => false settings => array() components => array() [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array() }, (int) 1 => 'initialize' ) array( 'subject' => object(OperatorsController) { components => array( 'Session' => null, 'Auth' => null, 'Brownie.BrwPanel' => null, 'Email' => null ) helpers => array( (int) 0 => 'Html', (int) 1 => 'Form', (int) 2 => 'Session', (int) 3 => 'Time' ) brwMenu => array( 'Menú' => array( [maximum depth reached] ), 'Configuración' => array( [maximum depth reached] ) ) brwMenuPerAuthUser => array( 'Operator' => array( [maximum depth reached] ) ) name => 'Operators' uses => array( (int) 0 => 'Operator' ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Operators' layoutPath => null viewVars => array() view => 'lostpass' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'login', (int) 1 => 'logout', (int) 2 => 'lostpass', (int) 3 => '_sendPasswordRecovery', (int) 4 => '_sendPasswordRecoveryAgency', (int) 5 => 'recovery', (int) 8 => 'isAuthorized', (int) 9 => '_customAuthSettings', (int) 10 => '_setTitle', (int) 11 => '_setHasAnyReservations', (int) 12 => '_operatorRelated' ) modelClass => 'Operator' modelKey => 'operator' validationErrors => null Session => object(SessionComponent) {} Auth => object(AuthComponent) {} BrwPanel => object(BrwPanelComponent) {} Email => object(EmailComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } )
- [internal function] → ObjectCollection->trigger(CakeEvent)
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(OperatorsController) { components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) brwMenu => array( [maximum depth reached] ) brwMenuPerAuthUser => array( [maximum depth reached] ) name => 'Operators' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Operators' layoutPath => null viewVars => array([maximum depth reached]) view => 'lostpass' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Operator' modelKey => 'operator' validationErrors => null Session => object(SessionComponent) {} Auth => object(AuthComponent) {} BrwPanel => object(BrwPanelComponent) {} Email => object(EmailComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
- CORE/Cake/Event/CakeEventManager.php line 243 → call_user_func(array, CakeEvent)
if ($listener['passParams'] === true) {
$result = call_user_func_array($listener['callable'], $event->data);
} else {
$result = call_user_func($listener['callable'], $event);
}
array( (int) 0 => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(OperatorsController) {} [protected] _enabled => array( 'Session' => array( [maximum depth reached] ), 'Auth' => array( [maximum depth reached] ), 'BrwPanel' => array( [maximum depth reached] ), 'Email' => array( [maximum depth reached] ) ) [protected] _loaded => array( 'Session' => object(SessionComponent) {}, 'Auth' => object(AuthComponent) {}, 'BrwPanel' => object(BrwPanelComponent) {}, 'Email' => object(EmailComponent) {} ) }, (int) 1 => 'trigger' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(OperatorsController) { components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) brwMenu => array( [maximum depth reached] ) brwMenuPerAuthUser => array( [maximum depth reached] ) name => 'Operators' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Operators' layoutPath => null viewVars => array([maximum depth reached]) view => 'lostpass' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Operator' modelKey => 'operator' validationErrors => null Session => object(SessionComponent) {} Auth => object(AuthComponent) {} BrwPanel => object(BrwPanelComponent) {} Email => object(EmailComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
- CORE/Cake/Controller/Controller.php line 676 → CakeEventManager->dispatch(CakeEvent)
* @triggers Controller.startup $this
*/
public function startupProcess() {
$this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));
$this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this));
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(OperatorsController) { components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) brwMenu => array( [maximum depth reached] ) brwMenuPerAuthUser => array( [maximum depth reached] ) name => 'Operators' uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Operators' layoutPath => null viewVars => array([maximum depth reached]) view => 'lostpass' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Operator' modelKey => 'operator' validationErrors => null Session => object(SessionComponent) {} Auth => object(AuthComponent) {} BrwPanel => object(BrwPanelComponent) {} Email => object(EmailComponent) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
- CORE/Cake/Routing/Dispatcher.php line 189 → Controller->startupProcess()
*/
protected function _invoke(Controller $controller, CakeRequest $request) {
$controller->constructClasses();
$controller->startupProcess();
- CORE/Cake/Routing/Dispatcher.php line 167 → Dispatcher->_invoke(OperatorsController, CakeRequest)
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(OperatorsController) { components => array( 'Session' => null, 'Auth' => null, 'Brownie.BrwPanel' => null, 'Email' => null ) helpers => array( (int) 0 => 'Html', (int) 1 => 'Form', (int) 2 => 'Session', (int) 3 => 'Time' ) brwMenu => array( 'Menú' => array( 'Quienes somos' => array( [maximum depth reached] ), 'Contactos' => array( [maximum depth reached] ), 'Hoteles' => 'Hotel', 'Habitaciones' => 'Room', 'Paquetes' => 'Pack', 'Traslados' => 'Transfer', 'Excursión' => 'Excursion', 'Fórmula 1' => 'FormulaLocation', 'Reservas' => 'Reserve', 'Receptores de pedidos' => 'ReserveRecipient', 'Pasajeros' => 'Passenger' ), 'Configuración' => array( 'Descuentos' => 'Discount', 'Promociones' => 'Promotion', 'Dead Line' => 'DeadLine', 'Stop Over' => 'StopOver', 'Operadores' => 'Operator', 'Agencias' => 'Agency', 'Tipos de habitaciones' => 'RoomType', 'Tamaños de habitaciones' => 'RoomSize', 'Régimenes de pensión' => 'PensionRegime', 'Ciudades' => 'City', 'Lugares' => 'Place', 'Imagenes de Slider' => 'Slider', 'Feriados y fechas especiales' => 'SpecialDate' ) ) brwMenuPerAuthUser => array( 'Operator' => array( 'Menú' => array( [maximum depth reached] ), 'Operador' => array( [maximum depth reached] ) ) ) name => 'Operators' uses => array( (int) 0 => 'Operator' ) request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'operators/lostpass' base => '' webroot => '/' here => '/operators/lostpass' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Operators' layoutPath => null viewVars => array() view => 'lostpass' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(OperatorsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array() scaffold => false methods => array( (int) 0 => 'login', (int) 1 => 'logout', (int) 2 => 'lostpass', (int) 3 => '_sendPasswordRecovery', (int) 4 => '_sendPasswordRecoveryAgency', (int) 5 => 'recovery', (int) 8 => 'isAuthorized', (int) 9 => '_customAuthSettings', (int) 10 => '_setTitle', (int) 11 => '_setHasAnyReservations', (int) 12 => '_operatorRelated' ) modelClass => 'Operator' modelKey => 'operator' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => false ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => null logoutRedirect => null authError => null unauthorizedRedirect => true allowedActions => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array([maximum depth reached]) [protected] _authenticateObjects => array([maximum depth reached]) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } BrwPanel => object(BrwPanelComponent) { controller => object(OperatorsController) {} isBrwPanel => false settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Email => object(EmailComponent) { to => null from => null replyTo => null readReceipt => null return => null cc => array([maximum depth reached]) bcc => array([maximum depth reached]) date => null subject => null headers => array([maximum depth reached]) additionalParams => null layout => 'default' template => null lineFeed => '' sendAs => 'text' delivery => 'mail' charset => 'utf-8' attachments => array([maximum depth reached]) xMailer => 'CakePHP Email Component' filePaths => array([maximum depth reached]) smtpOptions => array([maximum depth reached]) textMessage => null htmlMessage => null messageId => true settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _controller => object(OperatorsController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'operators', 'action' => 'lostpass', 'named' => array(), 'pass' => array(), 'models' => array( 'BrwUser' => array( [maximum depth reached] ), 'BrwImage' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'operators/lostpass' base => '' webroot => '/' here => '/operators/lostpass' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ) ) [protected] _input => '' }
- ROOT/public_html/index.php line 118 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'operators', 'action' => 'lostpass', 'named' => array(), 'pass' => array(), 'models' => array( 'BrwUser' => array( [maximum depth reached] ), 'BrwImage' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'operators/lostpass' base => '' webroot => '/' here => '/operators/lostpass' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel', (int) 2 => 'text/plain' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form