-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed carriage returns from files.
- Loading branch information
qiang.xue
committed
Oct 13, 2008
1 parent
8d4d1d3
commit 55bdd95
Showing
699 changed files
with
33,697 additions
and
33,697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,31 +1,31 @@ | |||
The Yii framework is free software. It is released under the terms of | The Yii framework is free software. It is released under the terms of | ||
the following BSD License. | the following BSD License. | ||
|
|||
Copyright © 2008 by Yii Software LLC (http://www.yiisoft.com) | Copyright © 2008 by Yii Software LLC (http://www.yiisoft.com) | ||
All rights reserved. | All rights reserved. | ||
|
|||
Redistribution and use in source and binary forms, with or without | Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | modification, are permitted provided that the following conditions | ||
are met: | are met: | ||
* Redistributions of source code must retain the above copyright | * Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright | * Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in | notice, this list of conditions and the following disclaimer in | ||
the documentation and/or other materials provided with the | the documentation and/or other materials provided with the | ||
distribution. | distribution. | ||
* Neither the name of Yii Software LLC nor the names of its | * Neither the name of Yii Software LLC nor the names of its | ||
contributors may be used to endorse or promote products derived | contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | from this software without specific prior written permission. | ||
|
|||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | ||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | ||
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,62 +1,62 @@ | |||
|
|||
Yii Web Programming Framework | Yii Web Programming Framework | ||
============================= | ============================= | ||
|
|||
Thank you for choosing Yii - a high-performance programming framework | Thank you for choosing Yii - a high-performance programming framework | ||
for developing Web applications in PHP 5. | for developing Web applications in PHP 5. | ||
|
|||
|
|||
INSTALLATION | INSTALLATION | ||
------------ | ------------ | ||
Please make sure the release file is unpacked under a Web-accessible | Please make sure the release file is unpacked under a Web-accessible | ||
directory. You shall see the following files and directories: | directory. You shall see the following files and directories: | ||
|
|||
demos/ containing Yii demos | demos/ containing Yii demos | ||
framework/ containing Yii framework source files | framework/ containing Yii framework source files | ||
requirements/ containing Yii requirement checker | requirements/ containing Yii requirement checker | ||
CHANGELOG describing changes in every Yii release | CHANGELOG describing changes in every Yii release | ||
LICENSE license of Yii | LICENSE license of Yii | ||
README this file | README this file | ||
UPGRADE upgrading instructions | UPGRADE upgrading instructions | ||
|
|||
|
|||
REQUIREMENTS | REQUIREMENTS | ||
------------ | ------------ | ||
The minimum requirement by Yii is that your Web server supports | The minimum requirement by Yii is that your Web server supports | ||
PHP 5.1.0 or above. Yii has been tested with Apache HTTP server | PHP 5.1.0 or above. Yii has been tested with Apache HTTP server | ||
on Windows and Linux operating systems. | on Windows and Linux operating systems. | ||
|
|||
Please access the following URL to check if your Web server reaches | Please access the following URL to check if your Web server reaches | ||
the requirements by Yii, assuming "YiiPath" is where Yii is installed: | the requirements by Yii, assuming "YiiPath" is where Yii is installed: | ||
|
|||
http://hostname/YiiPath/requirements/index.php | http://hostname/YiiPath/requirements/index.php | ||
|
|||
|
|||
QUICK START | QUICK START | ||
----------- | ----------- | ||
Yii comes with a command line tool called "yiic" that can create | Yii comes with a command line tool called "yiic" that can create | ||
a skeleton Yii application for you to start with. | a skeleton Yii application for you to start with. | ||
|
|||
On command line, type in the following commands: | On command line, type in the following commands: | ||
|
|||
$ cd YiiPath/framework (Linux) | $ cd YiiPath/framework (Linux) | ||
cd YiiPath\framework (Windows) | cd YiiPath\framework (Windows) | ||
|
|||
$ ./yiic webapp ../testdrive (Linux) | $ ./yiic webapp ../testdrive (Linux) | ||
yiic webapp ..\testdrive (Windows) | yiic webapp ..\testdrive (Windows) | ||
|
|||
The new Yii application will be created at "YiiPath/testdrive". | The new Yii application will be created at "YiiPath/testdrive". | ||
You can access it with the following URL: | You can access it with the following URL: | ||
|
|||
http://hostname/YiiPath/testdrive/index.php | http://hostname/YiiPath/testdrive/index.php | ||
|
|||
|
|||
WHAT's NEXT | WHAT's NEXT | ||
----------- | ----------- | ||
Please visit the project website for tutorials, class reference | Please visit the project website for tutorials, class reference | ||
and join discussions with other Yii users. | and join discussions with other Yii users. | ||
|
|||
|
|||
|
|||
The Yii Team | The Yii Team | ||
http://www.yiiframework.com | http://www.yiiframework.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,20 +1,20 @@ | |||
|
|||
Upgrading Instructions for Yii Framework v1.0b | Upgrading Instructions for Yii Framework v1.0b | ||
============================================== | ============================================== | ||
|
|||
!!!IMPORTANT!!! | !!!IMPORTANT!!! | ||
|
|||
The following upgrading instructions are cumulative. That is, | The following upgrading instructions are cumulative. That is, | ||
if you want to upgrade from version A to version C and there is | if you want to upgrade from version A to version C and there is | ||
version B between A and C, you need to following the instructions | version B between A and C, you need to following the instructions | ||
for both A and B. | for both A and B. | ||
|
|||
|
|||
Upgrading from v1.0a | Upgrading from v1.0a | ||
-------------------- | -------------------- | ||
- The getIsNewRecord and setIsNewRecord methods are removed from CActiveRecord. | - The getIsNewRecord and setIsNewRecord methods are removed from CActiveRecord. | ||
Please use CActiveRecord.isNewRecord property directly. | Please use CActiveRecord.isNewRecord property directly. | ||
- CWebUser.login is now taking an identity object as parameter. | - CWebUser.login is now taking an identity object as parameter. | ||
CWebUser.switchTo is removed. You should now implement identity class | CWebUser.switchTo is removed. You should now implement identity class | ||
instead of overriding CWebUser. CWebUser.roles property is removed. | instead of overriding CWebUser. CWebUser.roles property is removed. | ||
Added CWebUser.roleProvider property. | Added CWebUser.roleProvider property. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.