2008-05-30 11:40:08 +00:00
<?php
/**
*
* PHP versions 4 and 5
*
2009-11-06 06:46:59 +00:00
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
2010-01-26 19:18:20 +00:00
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
2008-05-30 11:40:08 +00:00
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
2010-01-26 19:18:20 +00:00
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
2009-11-06 06:00:11 +00:00
* @link http://cakephp.org CakePHP(tm) Project
2008-10-30 17:30:26 +00:00
* @package cake
* @subpackage cake.cake.libs.view.templates.pages
* @since CakePHP(tm) v 0.10.0.1076
2009-11-06 06:51:51 +00:00
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
2008-05-30 11:40:08 +00:00
*/
2009-02-25 19:50:30 +00:00
if (Configure::read() == 0):
$this->cakeError('error404');
endif;
2008-05-30 11:40:08 +00:00
?>
<h2><?php echo sprintf(__('Release Notes for CakePHP %s.', true), Configure::version()); ?></h2>
2011-05-21 02:38:58 +00:00
<a href="http://cakephp.org/changelogs/1.3.9"><?php __('Read the changelog'); ?> </a>
2008-05-30 11:40:08 +00:00
<?php
2008-10-23 00:10:44 +00:00
if (Configure::read() > 0):
2010-01-15 21:56:26 +00:00
Debugger::checkSecurityKeys();
2008-05-30 11:40:08 +00:00
endif;
?>
2011-05-30 13:31:26 +00:00
<div style="background-color:#e32; color:#fff; padding:3px; margin: 20px 0">
2011-05-26 15:05:28 +00:00
<?php __('URL rewriting is not properly configured on your server. '); ?>
2011-05-30 13:31:26 +00:00
<ol style="padding-left:20px">
<li>
<a target="_blank" href="http://book.cakephp.org/view/917/Apache-and-mod_rewrite-and-htaccess" style="color:#fff;">
<?php __('Help me configure it')?>
</a>
</li>
<li>
<a target="_blank" href="http://book.cakephp.org/view/931/CakePHP-Core-Configuration-Variables" style="color:#fff;">
<?php __('I don\'t / can\'t use URL rewriting')?>
</a>
</li>
</ol>
2011-05-26 15:05:28 +00:00
</div>
2008-05-30 11:40:08 +00:00
<p>
<?php
if (is_writable(TMP)):
echo '<span class="notice success">';
__('Your tmp directory is writable.');
echo '</span>';
else:
echo '<span class="notice">';
__('Your tmp directory is NOT writable.');
echo '</span>';
endif;
?>
</p>
<p>
<?php
$settings = Cache::settings();
if (!empty($settings)):
echo '<span class="notice success">';
2010-01-11 20:05:49 +00:00
printf(__('The %s is being used for caching. To change the config edit APP/config/core.php ', true), '<em>'. $settings['engine'] . 'Engine</em>');
2008-05-30 11:40:08 +00:00
echo '</span>';
else:
echo '<span class="notice">';
__('Your cache is NOT working. Please check the settings in APP/config/core.php');
echo '</span>';
endif;
?>
</p>
<p>
<?php
$filePresent = null;
if (file_exists(CONFIGS.'database.php')):
echo '<span class="notice success">';
__('Your database configuration file is present.');
$filePresent = true;
echo '</span>';
else:
echo '<span class="notice">';
__('Your database configuration file is NOT present.');
echo '<br/>';
__('Rename config/database.php.default to config/database.php');
echo '</span>';
endif;
?>
</p>
2010-09-16 22:39:45 +00:00
<?php
App::import('Core', 'Validation');
if (!Validation::alphaNumeric('cakephp')) {
echo '<p><span class="notice">';
__('PCRE has not been compiled with Unicode support.');
echo '<br/>';
__('Recompile PCRE with Unicode support by adding <code>--enable-unicode-properties</code> when configuring');
echo '</span></p>';
}
?>
2008-05-30 11:40:08 +00:00
<?php
if (isset($filePresent)):
2009-07-23 20:53:37 +00:00
if (!class_exists('ConnectionManager')) {
require LIBS . 'model' . DS . 'connection_manager.php';
}
2008-05-30 11:40:08 +00:00
$db = ConnectionManager::getInstance();
2008-06-30 01:09:13 +00:00
@$connected = $db->getDataSource('default');
2008-05-30 11:40:08 +00:00
?>
<p>
<?php
if ($connected->isConnected()):
echo '<span class="notice success">';
__('Cake is able to connect to the database.');
echo '</span>';
else:
echo '<span class="notice">';
__('Cake is NOT able to connect to the database.');
echo '</span>';
endif;
?>
</p>
<?php endif;?>
<h3><?php __('Editing this Page'); ?></h3>
<p>
<?php
2008-12-25 18:02:06 +00:00
__('To change the content of this page, create: APP/views/pages/home.ctp.<br />
To change its layout, create: APP/views/layouts/default.ctp.<br />
2008-05-30 11:40:08 +00:00
You can also add some CSS styles for your pages at: APP/webroot/css.');
?>
</p>
2009-11-04 03:40:36 +00:00
2008-05-30 11:40:08 +00:00
<h3><?php __('Getting Started'); ?></h3>
<p>
2009-11-04 03:40:36 +00:00
<?php
echo $this->Html->link(
2010-09-10 16:49:30 +00:00
sprintf('<strong>%s</strong> %s', __('New', true), __('CakePHP 1.3 Docs', true)),
2010-05-10 13:02:05 +00:00
'http://book.cakephp.org/view/875/x1-3-Collection',
2009-11-04 03:40:36 +00:00
array('target' => '_blank', 'escape' => false)
);
?>
2008-12-25 18:02:06 +00:00
</p>
<p>
2009-11-04 03:40:36 +00:00
<?php
echo $this->Html->link(
__('The 15 min Blog Tutorial', true),
2010-09-10 16:49:30 +00:00
'http://book.cakephp.org/view/1528/Blog',
2009-11-04 03:40:36 +00:00
array('target' => '_blank', 'escape' => false)
);
?>
2008-05-30 11:40:08 +00:00
</p>
2009-11-04 03:40:36 +00:00
2008-05-30 11:40:08 +00:00
<h3><?php __('More about Cake'); ?></h3>
<p>
<?php __('CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.'); ?>
</p>
<p>
<?php __('Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.'); ?>
</p>
2009-11-04 03:40:36 +00:00
2008-05-30 11:40:08 +00:00
<ul>
2010-01-26 19:18:20 +00:00
<li><a href="http://cakefoundation.org/"><?php __('Cake Software Foundation'); ?> </a>
2008-05-30 11:40:08 +00:00
<ul><li><?php __('Promoting development related to CakePHP'); ?></li></ul></li>
<li><a href="http://www.cakephp.org"><?php __('CakePHP'); ?> </a>
<ul><li><?php __('The Rapid Development Framework'); ?></li></ul></li>
2008-12-25 18:02:06 +00:00
<li><a href="http://book.cakephp.org"><?php __('CakePHP Documentation'); ?> </a>
2008-05-30 11:40:08 +00:00
<ul><li><?php __('Your Rapid Development Cookbook'); ?></li></ul></li>
<li><a href="http://api.cakephp.org"><?php __('CakePHP API'); ?> </a>
2008-12-25 18:02:06 +00:00
<ul><li><?php __('Quick Reference'); ?></li></ul></li>
<li><a href="http://bakery.cakephp.org"><?php __('The Bakery'); ?> </a>
<ul><li><?php __('Everything CakePHP'); ?></li></ul></li>
<li><a href="http://live.cakephp.org"><?php __('The Show'); ?> </a>
<ul><li><?php __('The Show is a live and archived internet radio broadcast CakePHP-related topics and answer questions live via IRC, Skype, and telephone.'); ?></li></ul></li>
<li><a href="http://groups.google.com/group/cake-php"><?php __('CakePHP Google Group'); ?> </a>
2008-05-30 11:40:08 +00:00
<ul><li><?php __('Community mailing list'); ?></li></ul></li>
<li><a href="irc://irc.freenode.net/cakephp">irc.freenode.net #cakephp</a>
<ul><li><?php __('Live chat about CakePHP'); ?></li></ul></li>
2010-01-30 02:35:00 +00:00
<li><a href="http://github.com/cakephp/"><?php __('CakePHP Code'); ?> </a>
<ul><li><?php __('For the Development of CakePHP Git repository, Downloads'); ?></li></ul></li>
<li><a href="http://cakephp.lighthouseapp.com/"><?php __('CakePHP Lighthouse'); ?> </a>
<ul><li><?php __('CakePHP Tickets, Wiki pages, Roadmap'); ?></li></ul></li>
2008-12-25 18:02:06 +00:00
<li><a href="http://www.cakeforge.org"><?php __('CakeForge'); ?> </a>
<ul><li><?php __('Open Development for CakePHP'); ?></li></ul></li>
<li><a href="http://astore.amazon.com/cakesoftwaref-20/"><?php __('Book Store'); ?> </a>
<ul><li><?php __('Recommended Software Books'); ?></li></ul></li>
<li><a href="http://www.cafepress.com/cakefoundation"><?php __('CakePHP gear'); ?> </a>
<ul><li><?php __('Get your own CakePHP gear - Doughnate to Cake'); ?></li></ul></li>
2010-09-16 22:39:45 +00:00
</ul>