Initial commit
This commit is contained in:
@@ -0,0 +1,106 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Downloading CodeIgniter : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Downloading CodeIgniter
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Downloading CodeIgniter</h1>
|
||||
|
||||
<ul>
|
||||
<li><a href="http://codeigniter.com/download.php">CodeIgniter V 1.7.3 (Current version)</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.7.2.zip">CodeIgniter V 1.7.2</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.7.1.zip">CodeIgniter V 1.7.1</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.7.0.zip">CodeIgniter V 1.7.0</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.6.3.zip">CodeIgniter V 1.6.3</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.6.2.zip">CodeIgniter V 1.6.2</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.6.1.zip">CodeIgniter V 1.6.1</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.6.0.zip">CodeIgniter V 1.6.0</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.5.4.zip">CodeIgniter V 1.5.4</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.5.3.zip">CodeIgniter V 1.5.3</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.5.2.zip">CodeIgniter V 1.5.2</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.5.1.zip">CodeIgniter V 1.5.1</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.4.1.zip">CodeIgniter V 1.4.1</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.3.3.zip">CodeIgniter V 1.3.3</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.3.2.zip">CodeIgniter V 1.3.2</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.3.1.zip">CodeIgniter V 1.3.1</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.3.zip">CodeIgniter V 1.3</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.2.zip">CodeIgniter V 1.2</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.1b.zip">CodeIgniter V 1.1</a></li>
|
||||
<li><a href="http://codeigniter.com/download_files/CodeIgniter_1.0b.zip">CodeIgniter V 1.0</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
<h1><a name="svn" id="svn"></a>Subversion Server</h1>
|
||||
<p><a href="http://subversion.tigris.org">Subversion</a> is a version control system. </p>
|
||||
<p>Public subversion access is now available via <a href="http://dev.ellislab.com/svn/CodeIgniter/trunk">http://dev.ellislab.com/svn/CodeIgniter/trunk</a> please note that while every effort is made to keep this codebase functional, we cannot guarantee the functionality of code taken from the repository.</p>
|
||||
<p>Beginning with version 1.6.1, version snapshots (tags) are also available via the Subversion server via <a href="http://dev.ellislab.com/svn/CodeIgniter/tags">http://dev.ellislab.com/svn/CodeIgniter/tags</a>.</p>
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="../general/credits.html">Credits</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="../installation/index.html">Installation Instructions</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,97 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Installation Instructions : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Installation Instructions
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Installation Instructions</h1>
|
||||
|
||||
<p>CodeIgniter is installed in four steps:</p>
|
||||
|
||||
<ol>
|
||||
<li>Unzip the package.</li>
|
||||
<li>Upload the CodeIgniter folders and files to your server. Normally the index.php file will be at your root.</li>
|
||||
<li>Open the <dfn>application/config/config.php</dfn> file with a text editor and set your base URL. If you intend to use encryption or sessions, set your encryption key.</li>
|
||||
<li>If you intend to use a database, open the <dfn>application/config/database.php</dfn> file with a text editor and set your database settings.</li>
|
||||
</ol>
|
||||
|
||||
<p>If you wish to increase security by hiding the location of your CodeIgniter files you can rename the <dfn>system</dfn> folder
|
||||
to something more private. If you do rename it, you must open your main <kbd>index.php</kbd> file and set the <samp>$system_folder</samp>
|
||||
variable at the top of the page with the new name you've chosen.</p>
|
||||
|
||||
<p>That's it!</p>
|
||||
|
||||
<p>If you're new to CodeIgniter, please read the <a href="../overview/getting_started.html">Getting Started</a> section of the User Guide to begin learning how
|
||||
to build dynamic PHP applications. Enjoy!</p>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="../general/credits.html">Credits</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="upgrading.html">Upgrading from a Previous Version</a>
|
||||
</p>
|
||||
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,90 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Troubleshooting : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Trouble Shooting
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Troubleshooting</h1>
|
||||
|
||||
<p>If you find that no matter what you put in your URL only your default page is loading, it might be that your server
|
||||
does not support the PATH_INFO variable needed to serve search-engine friendly URLs.
|
||||
|
||||
As a first step, open your <dfn>application/config/config.php</dfn> file and look for the <kbd>URI Protocol</kbd>
|
||||
information. It will recommend that you try a couple alternate settings. If it still doesn't work after you've tried this you'll need
|
||||
to force CodeIgniter to add a question mark to your URLs. To do this open your <kbd>application/config/config.php</kbd> file and change this:</p>
|
||||
|
||||
<code>$config['index_page'] = "index.php";</code>
|
||||
|
||||
<p>To this:</p>
|
||||
|
||||
<code>$config['index_page'] = "index.php?";</code>
|
||||
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="upgrading.html">Upgrading from a Previous Version</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="../overview/at_a_glance.html">CodeIgniter at a Glance</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,92 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from Beta 1.1 to Final 1.2
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading From Beta 1.0 to Final 1.2</h1>
|
||||
|
||||
<p>To upgrade to Version 1.2 please replace the following directories with the new versions:</p>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<ul>
|
||||
<li>drivers</li>
|
||||
<li>helpers</li>
|
||||
<li>init</li>
|
||||
<li>language</li>
|
||||
<li>libraries</li>
|
||||
<li>plugins</li>
|
||||
<li>scaffolding</li>
|
||||
</ul>
|
||||
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,203 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.2 to 1.3
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.2 to 1.3</h1>
|
||||
|
||||
<p class="important"><strong>Note:</strong> The instructions on this page assume you are running version 1.2. If you
|
||||
have not upgraded to that version please do so first.</p>
|
||||
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file
|
||||
with a static one.</p>
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace the following directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<ul>
|
||||
<li>application/<strong>models</strong>/ (new for 1.3)</li>
|
||||
<li>codeigniter (new for 1.3)</li>
|
||||
<li>drivers</li>
|
||||
<li>helpers</li>
|
||||
<li>init</li>
|
||||
<li>language</li>
|
||||
<li>libraries</li>
|
||||
<li>plugins</li>
|
||||
<li>scaffolding</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Step 2: Update your error files</h2>
|
||||
|
||||
<p>Version 1.3 contains two new error templates located in <dfn>application/errors</dfn>, and for naming consistency the other error templates have
|
||||
been renamed.</p>
|
||||
|
||||
<p>If you <strong>have not</strong> customized any of the error templates simply
|
||||
replace this folder:</p>
|
||||
|
||||
<ul>
|
||||
<li>application/errors/</li>
|
||||
</ul>
|
||||
|
||||
<p>If you <strong>have</strong> customized your error templates, rename them as follows:</p>
|
||||
|
||||
|
||||
<ul>
|
||||
<li>404.php = error_404.php</li>
|
||||
<li>error.php = error_general.php</li>
|
||||
<li>error_db.php (new)</li>
|
||||
<li>error_php.php (new)</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Step 3: Update your index.php file</h2>
|
||||
|
||||
<p>Please open your main <dfn>index.php</dfn> file (located at your root). At the very bottom of the file, change this:</p>
|
||||
|
||||
<code>require_once BASEPATH.'libraries/Front_controller'.EXT;</code>
|
||||
|
||||
<p>To this:</p>
|
||||
|
||||
<code>require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;</code>
|
||||
|
||||
|
||||
<h2>Step 4: Update your config.php file</h2>
|
||||
|
||||
<p>Open your <dfn>application/config/config.php</dfn> file and add these new items:</p>
|
||||
|
||||
<pre>
|
||||
/*
|
||||
|------------------------------------------------
|
||||
| URL suffix
|
||||
|------------------------------------------------
|
||||
|
|
||||
| This option allows you to add a suffix to all URLs.
|
||||
| For example, if a URL is this:
|
||||
|
|
||||
| example.com/index.php/products/view/shoes
|
||||
|
|
||||
| You can optionally add a suffix, like ".html",
|
||||
| making the page appear to be of a certain type:
|
||||
|
|
||||
| example.com/index.php/products/view/shoes.html
|
||||
|
|
||||
*/
|
||||
$config['url_suffix'] = "";
|
||||
|
||||
|
||||
/*
|
||||
|------------------------------------------------
|
||||
| Enable Query Strings
|
||||
|------------------------------------------------
|
||||
|
|
||||
| By default CodeIgniter uses search-engine and
|
||||
| human-friendly segment based URLs:
|
||||
|
|
||||
| example.com/who/what/where/
|
||||
|
|
||||
| You can optionally enable standard query string
|
||||
| based URLs:
|
||||
|
|
||||
| example.com?who=me&what=something&where=here
|
||||
|
|
||||
| Options are: TRUE or FALSE (boolean)
|
||||
|
|
||||
| The two other items let you set the query string "words"
|
||||
| that will invoke your controllers and functions:
|
||||
| example.com/index.php?c=controller&m=function
|
||||
|
|
||||
*/
|
||||
$config['enable_query_strings'] = FALSE;
|
||||
$config['controller_trigger'] = 'c';
|
||||
$config['function_trigger'] = 'm';
|
||||
</pre>
|
||||
|
||||
|
||||
<h2>Step 5: Update your database.php file</h2>
|
||||
|
||||
<p>Open your <dfn>application/config/database.php</dfn> file and add these new items:</p>
|
||||
|
||||
<pre>
|
||||
$db['default']['dbprefix'] = "";
|
||||
$db['default']['active_r'] = TRUE;
|
||||
</pre>
|
||||
|
||||
|
||||
<h2>Step 6: Update your user guide</h2>
|
||||
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,102 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.3 to 1.3.1
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.3 to 1.3.1</h1>
|
||||
|
||||
<p class="important"><strong>Note:</strong> The instructions on this page assume you are running version 1.3. If you
|
||||
have not upgraded to that version please do so first.</p>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace the following directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<ul>
|
||||
<li>drivers</li>
|
||||
<li>init/init_unit_test.php (new for 1.3.1)</li>
|
||||
<li>language/</li>
|
||||
<li>libraries</li>
|
||||
<li>scaffolding</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Step 2: Update your user guide</h2>
|
||||
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.3.1 to 1.3.2
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.3.1 to 1.3.2</h1>
|
||||
|
||||
<p class="important"><strong>Note:</strong> The instructions on this page assume you are running version 1.3.1. If you
|
||||
have not upgraded to that version please do so first.</p>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace the following directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<ul>
|
||||
<li>drivers</li>
|
||||
<li>init</li>
|
||||
<li>libraries</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Step 2: Update your user guide</h2>
|
||||
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,112 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.3.2 to 1.3.3
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.3.2 to 1.3.3</h1>
|
||||
|
||||
<p class="important"><strong>Note:</strong> The instructions on this page assume you are running version 1.3.2. If you
|
||||
have not upgraded to that version please do so first.</p>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace the following directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<ul>
|
||||
<li>codeigniter</li>
|
||||
<li>drivers</li>
|
||||
<li>helpers</li>
|
||||
<li>init</li>
|
||||
<li>libraries</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Step 2: Update your Models</h2>
|
||||
|
||||
<p>If you are <strong>NOT</strong> using CodeIgniter's <a href="../general/models.html">Models</a> feature disregard this step.</p>
|
||||
|
||||
<p>As of version 1.3.3, CodeIgniter does <strong>not</strong> connect automatically to your database when a model is loaded. This
|
||||
allows you greater flexibility in determining which databases you would like used with your models. If your application is not connecting
|
||||
to your database prior to a model being loaded you will have to update your code. There are several options for connecting,
|
||||
<a href="../general/models.html">as described here</a>.</p>
|
||||
|
||||
|
||||
<h2>Step 3: Update your user guide</h2>
|
||||
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,145 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.3.3 to 1.4.0
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.3.3 to 1.4.0</h1>
|
||||
|
||||
<p class="important"><strong>Note:</strong> The instructions on this page assume you are running version 1.3.3. If you
|
||||
have not upgraded to that version please do so first.</p>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace the following directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<ul>
|
||||
<li>application/config/<strong>hooks.php</strong></li>
|
||||
<li>application/config/<strong>mimes.php</strong></li>
|
||||
<li>codeigniter</li>
|
||||
<li>drivers</li>
|
||||
<li>helpers</li>
|
||||
<li>init</li>
|
||||
<li>language</li>
|
||||
<li>libraries</li>
|
||||
<li>scaffolding</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Step 2: Update your config.php file</h2>
|
||||
|
||||
<p>Open your <dfn>application/config/config.php</dfn> file and add these new items:</p>
|
||||
|
||||
<pre>
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Enable/Disable System Hooks
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you would like to use the "hooks" feature you must enable it by
|
||||
| setting this variable to TRUE (boolean). See the user guide for details.
|
||||
|
|
||||
*/
|
||||
$config['enable_hooks'] = FALSE;
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Allowed URL Characters
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This lets you specify which characters are permitted within your URLs.
|
||||
| When someone tries to submit a URL with disallowed characters they will
|
||||
| get a warning message.
|
||||
|
|
||||
| As a security measure you are STRONGLY encouraged to restrict URLs to
|
||||
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
|
||||
|
|
||||
| Leave blank to allow all characters -- but only if you are insane.
|
||||
|
|
||||
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
||||
|
|
||||
*/
|
||||
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';
|
||||
</pre>
|
||||
|
||||
|
||||
<h2>Step 3: Update your user guide</h2>
|
||||
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,148 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.4.0 to 1.4.1 </td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.4.0 to 1.4.1</h1>
|
||||
|
||||
<p class="important"><strong>Note:</strong> The instructions on this page assume you are running version 1.4.0. If you
|
||||
have not upgraded to that version please do so first.</p>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace the following directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<ul>
|
||||
<li>codeigniter</li>
|
||||
<li>drivers</li>
|
||||
<li>helpers</li>
|
||||
<li>libraries</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Step 2: Update your config.php file</h2>
|
||||
|
||||
<p>Open your <dfn>application/config/config.php</dfn> file and add this new item:</p>
|
||||
|
||||
<pre>
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Output Compression
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Enables Gzip output compression for faster page loads. When enabled,
|
||||
| the output class will test whether your server supports Gzip.
|
||||
| Even if it does, however, not all browsers support compression
|
||||
| so enable only if you are reasonably sure your visitors can handle it.
|
||||
|
|
||||
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
|
||||
| means you are prematurely outputting something to your browser. It could
|
||||
| even be a line of whitespace at the end of one of your scripts. For
|
||||
| compression to work, nothing can be sent before the output buffer is called
|
||||
| by the output class. Do not "echo" any values with compression enabled.
|
||||
|
|
||||
*/
|
||||
$config['compress_output'] = FALSE;
|
||||
|
||||
</pre>
|
||||
|
||||
|
||||
|
||||
<h2>Step 3: Rename an Autoload Item</h2>
|
||||
|
||||
<p>Open the following file: <dfn>application/config/autoload.php</dfn></p>
|
||||
|
||||
<p>Find this array item:</p>
|
||||
|
||||
<code>$autoload['core'] = array();</code>
|
||||
|
||||
<p>And rename it to this:</p>
|
||||
|
||||
<code>$autoload['libraries'] = array();</code>
|
||||
|
||||
<p>This change was made to improve clarity since some users were not sure that their own libraries could be auto-loaded.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>Step 4: Update your user guide</h2>
|
||||
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,178 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.4.1 to 1.5.0
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.4.1 to 1.5.0</h1>
|
||||
|
||||
<p class="important"><strong>Note:</strong> The instructions on this page assume you are running version 1.4.1. If you
|
||||
have not upgraded to that version please do so first.</p>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>application/config/user_agents.php</dfn> (new file for 1.5)</li>
|
||||
<li><dfn>application/config/smileys.php</dfn> (new file for 1.5)</li>
|
||||
<li><dfn>codeigniter/</dfn></li>
|
||||
<li><dfn>database/</dfn> (new folder for 1.5. Replaces the "drivers" folder)</li>
|
||||
<li><dfn>helpers/</dfn></li>
|
||||
<li><dfn>language/</dfn></li>
|
||||
<li><dfn>libraries/</dfn></li>
|
||||
<li><dfn>scaffolding/</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
|
||||
<h2>Step 2: Update your database.php file</h2>
|
||||
|
||||
<p>Open your <dfn>application/config/database.php</dfn> file and add these new items:</p>
|
||||
|
||||
<pre>
|
||||
$db['default']['cache_on'] = FALSE;
|
||||
$db['default']['cachedir'] = '';
|
||||
</pre>
|
||||
|
||||
|
||||
|
||||
<h2>Step 3: Update your config.php file</h2>
|
||||
|
||||
<p>Open your <dfn>application/config/config.php</dfn> file and <kbd>ADD</kbd> these new items:</p>
|
||||
|
||||
<pre>
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Class Extension Prefix
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This item allows you to set the filename/classname prefix when extending
|
||||
| native libraries. For more information please see the user guide:
|
||||
|
|
||||
| http://codeigniter.com/user_guide/general/core_classes.html
|
||||
| http://codeigniter.com/user_guide/general/creating_libraries.html
|
||||
|
|
||||
*/
|
||||
$config['subclass_prefix'] = 'MY_';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Rewrite PHP Short Tags
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If your PHP installation does not have short tag support enabled CI
|
||||
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
|
||||
| in your view files. Options are TRUE or FALSE (boolean)
|
||||
|
|
||||
*/
|
||||
$config['rewrite_short_tags'] = FALSE;
|
||||
</pre>
|
||||
|
||||
<p>In that same file <kbd>REMOVE</kbd> this item:</p>
|
||||
|
||||
|
||||
<pre>
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Enable/Disable Error Logging
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you would like errors or debug messages logged set this variable to
|
||||
| TRUE (boolean). Note: You must set the file permissions on the "logs" folder
|
||||
| such that it is writable.
|
||||
|
|
||||
*/
|
||||
$config['log_errors'] = FALSE;
|
||||
</pre>
|
||||
|
||||
<p>Error logging is now disabled simply by setting the threshold to zero.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 4: Update your main index.php file</h2>
|
||||
|
||||
<p>If you are running a stock <dfn>index.php</dfn> file simply replace your version with the new one.</p>
|
||||
|
||||
<p>If your <dfn>index.php</dfn> file has internal modifications, please add your modifications to the new file and use it.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 5: Update your user guide</h2>
|
||||
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,111 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.5.0 to 1.5.2
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.5.0 to 1.5.2</h1>
|
||||
|
||||
<p class="important"><strong>Note:</strong> The instructions on this page assume you are running version 1.5.0 or 1.5.1. If you
|
||||
have not upgraded to that version please do so first.</p>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/helpers/download_helper.php</dfn></li>
|
||||
<li><dfn>system/helpers/form_helper.php</dfn></li>
|
||||
<li><dfn>system/libraries/Table.php</dfn></li>
|
||||
<li><dfn>system/libraries/User_agent.php</dfn></li>
|
||||
<li><dfn>system/libraries/Exceptions.php</dfn></li>
|
||||
<li><dfn>system/libraries/Input.php</dfn></li>
|
||||
<li><dfn>system/libraries/Router.php</dfn></li>
|
||||
<li><dfn>system/libraries/Loader.php</dfn></li>
|
||||
<li><dfn>system/libraries/Image_lib.php</dfn></li>
|
||||
<li><dfn>system/language/english/unit_test_lang.php</dfn></li>
|
||||
<li><dfn>system/database/DB_active_rec.php</dfn></li>
|
||||
<li><dfn> system/database/drivers/mysqli/mysqli_driver.php</dfn></li>
|
||||
<li><dfn>codeigniter/</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
|
||||
<h2>Step 2: Update your user guide</h2>
|
||||
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,100 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> › Upgrading from 1.5.2 to 1.5.3
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.5.2 to 1.5.3</h1>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/database/drivers</dfn></li>
|
||||
<li><dfn>system/helpers</dfn></li>
|
||||
<li><dfn>system/libraries/Input.php</dfn></li>
|
||||
<li><dfn>system/libraries/Loader.php</dfn></li>
|
||||
<li><dfn>system/libraries/Profiler.php</dfn></li>
|
||||
<li><dfn>system/libraries/Table.php</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
|
||||
<h2>Step 2: Update your user guide</h2>
|
||||
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Upgrading from 1.5.3 to 1.5.4 : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.5.3 to 1.5.4
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.5.3 to 1.5.4</h1>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/application/config/mimes.php</dfn></li>
|
||||
<li><dfn>system/codeigniter</dfn></li>
|
||||
<li><dfn>system/database</dfn></li>
|
||||
<li><dfn>system/helpers</dfn></li>
|
||||
<li><dfn>system/libraries</dfn></li>
|
||||
<li><dfn>system/plugins</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<h2>Step 2: Add charset to your config.php </h2>
|
||||
<p>Add the following to system/application/config/config.php</p>
|
||||
<code>/*<br />
|
||||
|--------------------------------------------------------------------------<br />
|
||||
| Default Character Set<br />
|
||||
|--------------------------------------------------------------------------<br />
|
||||
|<br />
|
||||
| This determines which character set is used by default in various methods<br />
|
||||
| that require a character set to be provided.<br />
|
||||
|<br />
|
||||
*/<br />
|
||||
$config['charset'] = "UTF-8";</code>
|
||||
|
||||
<h2>Step 3: Autoloading language files </h2>
|
||||
<p>If you want to autoload any language files, add this line to system/application/config/autoload.php</p>
|
||||
<code>$autoload['language'] = array();</code>
|
||||
|
||||
<h2>Step 4: Update your user guide</h2>
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,125 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Upgrading from 1.5.4 to 1.6.0 : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.5.4 to 1.6.0
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.5.4 to 1.6.0</h1>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/codeigniter</dfn></li>
|
||||
<li><dfn>system/database</dfn></li>
|
||||
<li><dfn>system/helpers</dfn></li>
|
||||
<li><dfn>system/libraries</dfn></li>
|
||||
<li><dfn>system/plugins</dfn></li>
|
||||
<li><dfn>system/language</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<h2>Step 2: Add time_to_update to your config.php </h2>
|
||||
<p>Add the following to system/application/config/config.php with the other session configuration options</p>
|
||||
<p><code>$config['sess_time_to_update'] = 300;</code></p>
|
||||
<h2>Step 3: Add $autoload['model']</h2>
|
||||
<p>Add the following to system/application/config/autoload.php</p>
|
||||
<p><code> /*<br />
|
||||
| -------------------------------------------------------------------<br />
|
||||
| Auto-load Model files<br />
|
||||
| -------------------------------------------------------------------<br />
|
||||
| Prototype:<br />
|
||||
|<br />
|
||||
| $autoload['model'] = array('my_model');<br />
|
||||
|<br />
|
||||
*/<br />
|
||||
<br />
|
||||
$autoload['model'] = array();</code></p>
|
||||
<h2>Step 4: Add to your database.php </h2>
|
||||
<p>Make the following changes to your system/application/config/database.php file:</p>
|
||||
<p>Add the following variable above the database configuration options, with <dfn>$active_group</dfn></p>
|
||||
<p><code>$active_record = TRUE;</code></p>
|
||||
<p>Remove the following from your database configuration options</p>
|
||||
<p><code>$db['default']['active_r'] = TRUE;</code></p>
|
||||
<p>Add the following to your database configuration options</p>
|
||||
<p><code>$db['default']['char_set'] = "utf8";<br />
|
||||
$db['default']['dbcollat'] = "utf8_general_ci";</code></p>
|
||||
|
||||
<h2>Step 5: Update your user guide</h2>
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,98 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Upgrading from 1.6.0 to 1.6.1 : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.6.0 to 1.6.1
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.6.0 to 1.6.1</h1>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/codeigniter</dfn></li>
|
||||
<li><dfn>system/database</dfn></li>
|
||||
<li><dfn>system/helpers</dfn></li>
|
||||
<li><dfn>system/language</dfn></li>
|
||||
<li><dfn>system/libraries</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<h2>Step 2: Update your user guide</h2>
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,106 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Upgrading from 1.6.1 to 1.6.2 : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.6.1 to 1.6.2
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.6.1 to 1.6.2</h1>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/codeigniter</dfn></li>
|
||||
<li><dfn>system/database</dfn></li>
|
||||
<li><dfn>system/helpers</dfn></li>
|
||||
<li><dfn>system/language</dfn></li>
|
||||
<li><dfn>system/libraries</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
|
||||
<h2>Step 2: Encryption Key</h2>
|
||||
<p>If you are using sessions, open up system/application/config/config.php and verify you've set an encryption key.</p>
|
||||
|
||||
<h2>Step 3: Constants File</h2>
|
||||
<p>Copy /system/application/config/constants.php to your installation, and modify if necessary.</p>
|
||||
<h2>Step 4: Mimes File</h2>
|
||||
<p>Replace /system/application/config/mimes.php with the dowloaded version. If you've added custom mime types, you'll need to re-add them.</p>
|
||||
<h2>Step 5: Update your user guide</h2>
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,99 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Upgrading from 1.6.2 to 1.6.3 : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.6.2 to 1.6.3
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.6.2 to 1.6.3</h1>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/codeigniter</dfn></li>
|
||||
<li><dfn>system/database</dfn></li>
|
||||
<li><dfn>system/helpers</dfn></li>
|
||||
<li><dfn>system/language</dfn></li>
|
||||
<li><dfn>system/libraries</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
|
||||
<h2>Step 2: Update your user guide</h2>
|
||||
<p>Please also replace your local copy of the user guide with the new version.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,121 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Upgrading from 1.6.3 to 1.7.0 : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.6.3 to 1.7.0
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.6.3 to 1.7.0</h1>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/codeigniter</dfn></li>
|
||||
<li><dfn>system/database</dfn></li>
|
||||
<li><dfn>system/helpers</dfn></li>
|
||||
<li><dfn>system/language</dfn></li>
|
||||
<li><dfn>system/libraries</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
|
||||
<h2>Step 2: Update your Session Table</h2>
|
||||
|
||||
<p>If you are using the Session class in your application, AND if you are storing session data to a database, you must add a new column named <dfn>user_data</dfn> to your session table.
|
||||
Here is an example of what this column might look like for MySQL:
|
||||
|
||||
<code>user_data text NOT NULL</code>
|
||||
|
||||
<p>To add this column you will run a query similar to this:</p>
|
||||
|
||||
<code>ALTER TABLE `ci_sessions` ADD `user_data` text NOT NULL</code>
|
||||
|
||||
<p>You'll find more information regarding the new Session functionality in the <a href="../libraries/sessions.html">Session class</a> page.</p>
|
||||
|
||||
|
||||
<h2>Step 3: Update your Validation Syntax</h2>
|
||||
|
||||
<p>This is an <strong>optional</strong>, but recommended step, for people currently using the Validation class. CI 1.7 introduces a new <a href="../libraries/form_validation.html">Form Validation class</a>, which
|
||||
deprecates the old Validation library. We have left the old one in place so that existing applications that use it will not break, but you are encouraged to
|
||||
migrate to the new version as soon as possible. Please read the user guide carefully as the new library works a little differently, and has several new features.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 4: Update your user guide</h2>
|
||||
<p>Please replace your local copy of the user guide with the new version, including the image files.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,98 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Upgrading from 1.7.0 to 1.7.1 : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.7.0 to 1.7.1
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.7.0 to 1.7.1</h1>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/codeigniter</dfn></li>
|
||||
<li><dfn>system/database</dfn></li>
|
||||
<li><dfn>system/helpers</dfn></li>
|
||||
<li><dfn>system/language</dfn></li>
|
||||
<li><dfn>system/libraries</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<h2>Step 2: Update your user guide</h2>
|
||||
<p>Please replace your local copy of the user guide with the new version, including the image files.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,105 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Upgrading from 1.7.1 to 1.7.2 : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.7.1 to 1.7.2
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.7.1 to 1.7.2</h1>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/codeigniter</dfn></li>
|
||||
<li><dfn>system/database</dfn></li>
|
||||
<li><dfn>system/helpers</dfn></li>
|
||||
<li><dfn>system/language</dfn></li>
|
||||
<li><dfn>system/libraries</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<h2>Step 2: Remove header() from 404 error template</h2>
|
||||
<p>If you are using header() in your 404 error template, such as the case with the default <samp>error_404.php</samp> template shown below, remove that line of code.</p>
|
||||
|
||||
<code><?php header("HTTP/1.1 404 Not Found"); ?></code>
|
||||
|
||||
<p>404 status headers are now properly handled in the show_404() method itself.</p>
|
||||
|
||||
<h2>Step 2: Update your user guide</h2>
|
||||
<p>Please replace your local copy of the user guide with the new version, including the image files.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,98 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Upgrading from 1.7.2 to 1.7.3 : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from 1.7.2 to 1.7.3
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading from 1.7.2 to 1.7.3</h1>
|
||||
|
||||
<p>Before performing an update you should take your site offline by replacing the index.php file with a static one.</p>
|
||||
|
||||
|
||||
|
||||
<h2>Step 1: Update your CodeIgniter files</h2>
|
||||
|
||||
<p>Replace these files and directories in your "system" folder with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><dfn>system/codeigniter</dfn></li>
|
||||
<li><dfn>system/database</dfn></li>
|
||||
<li><dfn>system/helpers</dfn></li>
|
||||
<li><dfn>system/language</dfn></li>
|
||||
<li><dfn>system/libraries</dfn></li>
|
||||
</ul>
|
||||
|
||||
<p class="important"><strong>Note:</strong> If you have any custom developed files in these folders please make copies of them first.</p>
|
||||
|
||||
<h2>Step 2: Update your user guide</h2>
|
||||
<p>Please replace your local copy of the user guide with the new version, including the image files.</p>
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,144 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from Beta 1.0 to Beta 1.1
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading From Beta 1.0 to Beta 1.1</h1>
|
||||
|
||||
<p>To upgrade to Beta 1.1 please perform the following steps:</p>
|
||||
|
||||
<h2>Step 1: Replace your index file</h2>
|
||||
|
||||
<p>Replace your main <kbd>index.php</kbd> file with the new index.php file. Note: If you have renamed your "system" folder you will need to edit this info in the new file.</p>
|
||||
|
||||
<h2>Step 2: Relocate your config folder</h2>
|
||||
|
||||
<p>This version of CodeIgniter now permits multiple sets of "applications" to all share a common set of backend files. In order to enable
|
||||
each application to have its own configuration values, the <kbd>config</kbd> directory must now reside
|
||||
inside of your <dfn>application</dfn> folder, so please move it there.</p>
|
||||
|
||||
|
||||
<h2>Step 3: Replace directories</h2>
|
||||
|
||||
<p>Replace the following directories with the new versions:</p>
|
||||
|
||||
<ul>
|
||||
<li>drivers</li>
|
||||
<li>helpers</li>
|
||||
<li>init</li>
|
||||
<li>libraries</li>
|
||||
<li>scaffolding</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Step 4: Add the calendar language file</h2>
|
||||
|
||||
<p>There is a new language file corresponding to the new calendaring class which must be added to your language folder. Add
|
||||
the following item to your version: <dfn>language/english/calendar_lang.php</dfn></p>
|
||||
|
||||
|
||||
<h2>Step 5: Edit your config file</h2>
|
||||
|
||||
<p>The original <kbd>application/config/config.php</kbd> file has a typo in it Open the file and look for the items related to cookies:</p>
|
||||
|
||||
<code>$conf['cookie_prefix'] = "";<br />
|
||||
$conf['cookie_domain'] = "";<br />
|
||||
$conf['cookie_path'] = "/";</code>
|
||||
|
||||
<p>Change the array name from <kbd>$conf</kbd> to <kbd>$config</kbd>, like this:</p>
|
||||
|
||||
<code>$config['cookie_prefix'] = "";<br />
|
||||
$config['cookie_domain'] = "";<br />
|
||||
$config['cookie_path'] = "/";</code>
|
||||
|
||||
<p>Lastly, add the following new item to the config file (and edit the option if needed):</p>
|
||||
|
||||
<code><br />
|
||||
/*<br />
|
||||
|------------------------------------------------<br />
|
||||
| URI PROTOCOL<br />
|
||||
|------------------------------------------------<br />
|
||||
|<br />
|
||||
| This item determines which server global <br />
|
||||
| should be used to retrieve the URI string. The <br />
|
||||
| default setting of "auto" works for most servers.<br />
|
||||
| If your links do not seem to work, try one of <br />
|
||||
| the other delicious flavors:<br />
|
||||
| <br />
|
||||
| 'auto' Default - auto detects<br />
|
||||
| 'path_info' Uses the PATH_INFO <br />
|
||||
| 'query_string' Uses the QUERY_STRING<br />
|
||||
*/<br />
|
||||
<br />
|
||||
$config['uri_protocol'] = "auto";</code>
|
||||
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,102 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Upgrading From a Previous Version : CodeIgniter User Guide</title>
|
||||
|
||||
<style type='text/css' media='all'>@import url('../userguide.css');</style>
|
||||
<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
|
||||
|
||||
<script type="text/javascript" src="../nav/nav.js"></script>
|
||||
<script type="text/javascript" src="../nav/prototype.lite.js"></script>
|
||||
<script type="text/javascript" src="../nav/moo.fx.js"></script>
|
||||
<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
|
||||
|
||||
<meta http-equiv='expires' content='-1' />
|
||||
<meta http-equiv= 'pragma' content='no-cache' />
|
||||
<meta name='robots' content='all' />
|
||||
<meta name='author' content='ExpressionEngine Dev Team' />
|
||||
<meta name='description' content='CodeIgniter User Guide' />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- START NAVIGATION -->
|
||||
<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
|
||||
<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div>
|
||||
<div id="masthead">
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td><h1>CodeIgniter User Guide Version 1.7.3</h1></td>
|
||||
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END NAVIGATION -->
|
||||
|
||||
|
||||
<!-- START BREADCRUMB -->
|
||||
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
||||
<tr>
|
||||
<td id="breadcrumb">
|
||||
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
||||
<a href="../index.html">User Guide Home</a> ›
|
||||
Upgrading from a Previous Version
|
||||
</td>
|
||||
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END BREADCRUMB -->
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
||||
<!-- START CONTENT -->
|
||||
<div id="content">
|
||||
|
||||
<h1>Upgrading From a Previous Version</h1>
|
||||
|
||||
<p>Please read the upgrade notes corresponding to the version you are upgrading from.</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="upgrade_173.html">Upgrading from 1.7.2 to 1.7.3</a></li>
|
||||
<li><a href="upgrade_172.html">Upgrading from 1.7.1 to 1.7.2</a></li>
|
||||
<li><a href="upgrade_171.html">Upgrading from 1.7.0 to 1.7.1</a></li>
|
||||
<li><a href="upgrade_170.html">Upgrading from 1.6.3 to 1.7.0</a></li>
|
||||
<li><a href="upgrade_163.html">Upgrading from 1.6.2 to 1.6.3</a></li>
|
||||
<li><a href="upgrade_162.html">Upgrading from 1.6.1 to 1.6.2</a></li>
|
||||
<li><a href="upgrade_161.html">Upgrading from 1.6.0 to 1.6.1</a></li>
|
||||
<li><a href="upgrade_160.html">Upgrading from 1.5.4 to 1.6.0</a></li>
|
||||
<li><a href="upgrade_154.html">Upgrading from 1.5.3 to 1.5.4</a></li>
|
||||
<li><a href="upgrade_153.html">Upgrading from 1.5.2 to 1.5.3</a></li>
|
||||
<li><a href="upgrade_152.html">Upgrading from 1.5.0 or 1.5.1 to 1.5.2</a></li>
|
||||
<li><a href="upgrade_150.html">Upgrading from 1.4.1 to 1.5.0</a></li>
|
||||
<li><a href="upgrade_141.html">Upgrading from 1.4.0 to 1.4.1</a></li>
|
||||
<li><a href="upgrade_140.html">Upgrading from 1.3.3 to 1.4.0</a></li>
|
||||
<li><a href="upgrade_133.html">Upgrading from 1.3.2 to 1.3.3</a></li>
|
||||
<li><a href="upgrade_132.html">Upgrading from 1.3.1 to 1.3.2</a></li>
|
||||
<li><a href="upgrade_131.html">Upgrading from 1.3 to 1.3.1</a></li>
|
||||
<li><a href="upgrade_130.html">Upgrading from 1.2 to 1.3</a></li>
|
||||
<li><a href="upgrade_120.html">Upgrading from 1.1 to 1.2</a></li>
|
||||
<li><a href="upgrade_b11.html">Upgrading from Beta 1.0 to Beta 1.1</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<!-- END CONTENT -->
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<p>
|
||||
Previous Topic: <a href="index.html">Installation Instructions</a>
|
||||
·
|
||||
<a href="#top">Top of Page</a> ·
|
||||
<a href="../index.html">User Guide Home</a> ·
|
||||
Next Topic: <a href="troubleshooting.html">Troubleshooting</a>
|
||||
</p>
|
||||
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user