cakephp2-php8/cake/config/config.php

28 lines
869 B
PHP
Raw Normal View History

<?php
/* SVN FILE: $Id$ */
/**
* Core Configurations.
*
* PHP versions 4 and 5
*
* CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
* Copyright 2005-2007, Cake Software Foundation, Inc.
* 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @filesource
* @copyright Copyright 2005-2007, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
* @package cake
* @subpackage cake.app.config
* @since CakePHP(tm) v 1.1.11.4062
* @version $Revision$
* @modifiedby $LastChangedBy$
* @lastmodified $Date$
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
Merging fixes and enhancement into the trunk: NOTICE ALL DEPRECATED METHODS ARE REMOVED FROM THE CORE AS OF THIS REVISION! Revision: [4981] * Removing deprecated code and files /basics.php * normalizeList() Deprecated: see Set::normalize * countdim() see Set::countDim libs/controller/components/request_handler.php * RequestHandler::disableStartup = false; see RequestHandler::$enabled * RequestHandlerComponent::setView() see RequestHandlerComponent::renderAs() * RequestHandlerComponent::setAjax() see RequestHandlerComponent::renderAs() libs/controller/components/session.php * SessionComponent::flash() use $session->flash('key'); in your views libs/controller/controller.php * Controller::_setTitle() see Controller::set() libs/model/datasources/dbo_source.php * DboSource::fetchArray() see DboSource::fetchRow() * DboSource::one() see DboSource::fetchRow() libs/model/db_acl.php * DB_ACL::getAco() see AclComponent::$Aco::node() * DB_ACL::getAro() see AclComponent::$Aro::node() libs/neat_array.php * Class is not longer available use libs/set.php Set class libs/sanitize.php * Sanitize::sql() see Sanitize::escape() * Sanitize::cleanArray() see Sanitize::clean() * Sanitize::cleanArrayR() see Sanitize::clean() * Sanitize::cleanValue() see Sanitize::clean() libs/view/helper.php * Helper::parseHtmlOptions() see HtmlHelper::_parseAttributes() libs/view/helpers/form.php * define('TAG_DIV', '<div class="%s">%s</div>'); * define('TAG_P_CLASS', '<p class="%s">%s</p>'); * define('TAG_LABEL', '<label for="%s">%s</label>'); * define('TAG_FIELDSET', '<fieldset><legend>%s</legend>%s</label>'); * FormHelper::labelTag() see FormHelper::label() * FormHelper::divTag() see HtmlHelper::div() * FormHelper::pTag() see HtmlHelper::para * FormHelper::generateInputDiv() see FormHelper::input() * FormHelper::generateCheckboxDiv() see FormHelper::input() * FormHelper::generateDate() see FormHelper::input() * FormHelper::generateTime() see FormHelper::input() * FormHelper::generateDateTime() see FormHelper::input() * FormHelper::generateAreaDiv() see FormHelper::input() * FormHelper::generateSelectDiv() see FormHelper::input() * FormHelper::generateSubmitDiv() see FormHelper::input() * FormHelper::generateFields() see FormHelper::input() libs/view/helpers/html.php * HtmlHelper::file() see FormHelper::file() * HtmlHelper::submit() see FormHelper::submit() * HtmlHelper::selectTag() see FormHelper::select() * HtmlHelper::formTag() see FormHelper::create() * HtmlHelper::linkEmail() see HtmlHelper::link() * HtmlHelper::dayOptionTag() see FormHelper::day() * HtmlHelper::yearOptionTag() see FormHelper::year() * HtmlHelper::monthOptionTag() see FormHelper::month() * HtmlHelper::hourOptionTag() see FormHelper::hour() * HtmlHelper::minuteOptionTag() see FormHelper::minute() * HtmlHelper::meridianOptionTag() see FormHelper::meridian() * HtmlHelper::dateTimeOptionTag() see FormHelper::dateTime() libs/view/helpers/javascript.php * JavascriptHelper::linkOut() see JavascriptHelper::link() libs/view/view.php * View::setLayout() use $this->layout in your view Revision: [4980] Adding option to send extra parameters to a custom validation and more tests for validation Revision: [4978] * Adding ability to disable specific form data fields from being added to the validation key. * Example of using this would be javascript that changes hidden fields, adding additional fields added using javascript, etc. * This is set in a Controller::beforeFilter(). Example usage: {{{ $this->Security->disabledFields = array('fieldname', 'additional fields'); $this->Security->disabledFields = array('Model.fieldname', 'OtherModel.fieldname'); }}} Revision: [4977] * Setting replyTo and return headers only when defined Revision: [4976] * Adding fix for forms that pass an empty value for a hidden field Revision: [4973] * Changing where the from token holding the fields from the form is created Revision: [4972] * Refactoring SecurityComponent Revision: [4971] * Fixing typo Revision: [4970] * Adding additional tests for validation. * Added fix to model to pass the new tests Revision: [4969] * Adding hidden field values to hash. This will prevent altering of hidden fields in a form when using the FormHelper and adding the var $components = array('Security'); to a controller or the AppController to use by all child controllers Revision: [4968] * Adding form security enhancements. * Forcing checking of Session form token if security component is used. * Enhancement will not allow a form to be submitted if the fields in the form created with the FormHelper do not match the fields in the submitted form. Revision: [4967] * Adding fix for failing model validation tests Revision: [4966] * Restoring commented tests Revision: [4965] * Adding test to evaluate emptiness in validation Revision: [4964] * Correcting subpackage tag Revision: [4963] * Removing acl related directories from components tests Revision: [4962] * moving tests Revision: [4961] * Fixing paths to correctly load acl models. * Updating test for acl Revision: [4960] * Moving all acl related models to model/db_acl.php. * Removing components/models directories * Changing the ACL_FILENAME setting in core.php Revision: [4959] * Moving AclBase class to the acl.php file. * Removing components/iniacl directory. * Removing acl_base.php file. Revision: [4958] * Restructuring locations of acl related classes Revision: [4957] * Adding fix for #2510, Use shorter names for attached files in EmailComponent Revision: [4956] * Adding fix for #2505 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4983 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 08:36:06 +00:00
$config['Cake.version'] = '1.2.0.4983alpha';
?>