Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
3.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaz committed Apr 15, 2015
1 parent 33cb60b commit 4698747
Show file tree
Hide file tree
Showing 88 changed files with 25,333 additions and 2,250 deletions.
2 changes: 1 addition & 1 deletion core/framework/YiiBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class YiiBase
*/
public static function getVersion()
{
return '1.1.14';
return '1.1.15';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion core/framework/base/CModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @property CList $validatorList All the validators declared in the model.
* @property array $validators The validators applicable to the current {@link scenario}.
* @property array $_errors Errors for all attributes or the specified attribute. Empty array is returned if no error.
* @property array $errors Errors for all attributes or the specified attribute. Empty array is returned if no error.
* @property array $attributes Attribute values (name=>value).
* @property string $scenario The scenario that this model is in.
* @property array $safeAttributeNames Safe attribute names.
Expand Down
2 changes: 1 addition & 1 deletion core/framework/web/CHttpRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ public function getPreferredLanguages()
{
if($this->_preferredLanguages===null)
{
$sortedLanguages=array('en');
$sortedLanguages=array();
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) && $n=preg_match_all('/([\w\-_]+)(?:\s*;\s*q\s*=\s*(\d*\.?\d*))?/',$_SERVER['HTTP_ACCEPT_LANGUAGE'],$matches))
{
$languages=array();
Expand Down
12 changes: 6 additions & 6 deletions core/framework/yii.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
*/
class Yii extends YiiBase
{
public static function createWebApplication($config=null)
{
$wsbootstrap=dirname(__FILE__).'/../protected/components/WsWebApplication.php';
require_once($wsbootstrap);
return self::createApplication('WsWebApplication',$config);
}
public static function createWebApplication($config=null)
{
$wsbootstrap=dirname(__FILE__) . '/../protected/components/WsWebApplication.php';
require_once($wsbootstrap);
return self::createApplication('WsWebApplication', $config);
}
}
Loading

0 comments on commit 4698747

Please sign in to comment.