mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
a few corrections to previous commits
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1076 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
e37a842373
commit
dd5ad1537c
3 changed files with 14 additions and 14 deletions
|
@ -31,19 +31,19 @@
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If you do not have mod rewrite on your system
|
||||||
|
* or if you prefer to use CakePHP pretty urls.
|
||||||
|
* uncomment the line below.
|
||||||
|
* Note: If you do have mod rewrite but prefer the
|
||||||
|
* CakePHP pretty urls, you also have to remove the
|
||||||
|
* .htaccess files
|
||||||
|
* release/.htaccess
|
||||||
|
* release/app/.htaccess
|
||||||
|
* release/app/webroot/.htaccess
|
||||||
|
*/
|
||||||
|
//define ('BASE_URL', $_SERVER['SCRIPT_NAME']);
|
||||||
|
|
||||||
if(function_exists('apache_get_modules'))
|
|
||||||
{
|
|
||||||
$modules = apache_get_modules();
|
|
||||||
if(!in_array('mod_rewrite', $modules) || !is_file('.htaccess'))
|
|
||||||
{
|
|
||||||
define ('BASE_URL', $_SERVER['SCRIPT_NAME']);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
define ('BASE_URL', $_SERVER['SCRIPT_NAME']);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set debug level here:
|
* Set debug level here:
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<div id="footer" align="center">
|
<div id="footer" align="center">
|
||||||
© 2005 CakePHP ::
|
© 2005 CakePHP ::
|
||||||
<a href="https://trac.cakephp.org/wiki/Authors">CakePHP Developers and Authors</a>
|
<a href="https://trac.cakephp.org/wiki/Authors">CakePHP Developers and Authors</a>
|
||||||
<p>CakePHP v 0.10.0.1073_dev</p>
|
<p>CakePHP v 0.10.0.1076_dev</p>
|
||||||
</div>
|
</div>
|
||||||
<!---PLEASE LEAVE THE POWERED BY CAKE LOGO------->
|
<!---PLEASE LEAVE THE POWERED BY CAKE LOGO------->
|
||||||
<div id="pb-cake">
|
<div id="pb-cake">
|
||||||
|
|
|
@ -17,7 +17,7 @@ Our primary goal is to provide a structured framework that enables PHP users at
|
||||||
to rapidly develop robust web applications, without any loss to flexibility.
|
to rapidly develop robust web applications, without any loss to flexibility.
|
||||||
</p>
|
</p>
|
||||||
<h2><a href="http://cakephp.org/downloads/index/release">What's <em>New</em></a></h2>
|
<h2><a href="http://cakephp.org/downloads/index/release">What's <em>New</em></a></h2>
|
||||||
<p>Release 0.10.0.1073_dev with:</p>
|
<p>Release 0.10.0.1076_dev with:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Scaffolding</li>
|
<li>Scaffolding</li>
|
||||||
<li>Output Types</li>
|
<li>Output Types</li>
|
||||||
|
|
Loading…
Add table
Reference in a new issue