2008-05-30 11:40:08 +00:00
<?php
/**
*
2010-10-03 16:38:58 +00:00
* PHP 5
2008-05-30 11:40:08 +00:00
*
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):
2010-12-04 21:34:20 +00:00
throw new NotFoundException();
2009-02-25 19:50:30 +00:00
endif;
2008-05-30 11:40:08 +00:00
?>
2010-12-05 01:37:13 +00:00
<h2><?php echo __('Release Notes for CakePHP %s.', Configure::version()); ?></h2>
2010-11-14 01:01:20 +00:00
<a href="http://cakephp.org/changelogs/1.3.6"><?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;
?>
<p>
<?php
if (is_writable(TMP)):
echo '<span class="notice success">';
2010-04-15 16:20:15 +00:00
echo __('Your tmp directory is writable.');
2008-05-30 11:40:08 +00:00
echo '</span>';
else:
echo '<span class="notice">';
2010-04-15 16:20:15 +00:00
echo __('Your tmp directory is NOT writable.');
2008-05-30 11:40:08 +00:00
echo '</span>';
endif;
?>
</p>
<p>
<?php
$settings = Cache::settings();
if (!empty($settings)):
echo '<span class="notice success">';
2010-12-05 01:37:13 +00:00
echo __('The %s is being used for caching. To change the config edit APP/config/core.php ', '<em>'. $settings['engine'] . 'Engine</em>');
2008-05-30 11:40:08 +00:00
echo '</span>';
else:
echo '<span class="notice">';
2010-04-15 16:20:15 +00:00
echo __('Your cache is NOT working. Please check the settings in APP/config/core.php');
2008-05-30 11:40:08 +00:00
echo '</span>';
endif;
?>
</p>
<p>
<?php
$filePresent = null;
if (file_exists(CONFIGS.'database.php')):
echo '<span class="notice success">';
2010-04-15 16:20:15 +00:00
echo __('Your database configuration file is present.');
2008-05-30 11:40:08 +00:00
$filePresent = true;
echo '</span>';
else:
echo '<span class="notice">';
2010-04-15 16:20:15 +00:00
echo __('Your database configuration file is NOT present.');
2008-05-30 11:40:08 +00:00
echo '<br/>';
2010-04-15 16:20:15 +00:00
echo __('Rename config/database.php.default to config/database.php');
2008-05-30 11:40:08 +00:00
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">';
2010-04-15 16:20:15 +00:00
echo __('Cake is able to connect to the database.');
2008-05-30 11:40:08 +00:00
echo '</span>';
else:
echo '<span class="notice">';
2010-04-15 16:20:15 +00:00
echo __('Cake is NOT able to connect to the database.');
2008-05-30 11:40:08 +00:00
echo '</span>';
endif;
?>
</p>
<?php endif;?>
2010-04-15 16:20:15 +00:00
<h3><?php echo __('Editing this Page'); ?></h3>
2008-05-30 11:40:08 +00:00
<p>
<?php
2010-04-15 16:20:15 +00:00
echo __('To change the content of this page, create: APP/views/pages/home.ctp.<br />
2008-12-25 18:02:06 +00:00
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
2010-04-15 16:20:15 +00:00
<h3><?php echo __('Getting Started'); ?></h3>
2008-05-30 11:40:08 +00:00
<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
2010-04-15 16:20:15 +00:00
<h3><?php echo __('More about Cake'); ?></h3>
2008-05-30 11:40:08 +00:00
<p>
2010-04-15 16:20:15 +00:00
<?php echo __('CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.'); ?>
2008-05-30 11:40:08 +00:00
</p>
<p>
2010-04-15 16:20:15 +00:00
<?php echo __('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.'); ?>
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
<ul>
2010-04-15 16:20:15 +00:00
<li><a href="http://cakefoundation.org/"><?php echo __('Cake Software Foundation'); ?> </a>
<ul><li><?php echo __('Promoting development related to CakePHP'); ?></li></ul></li>
<li><a href="http://www.cakephp.org"><?php echo __('CakePHP'); ?> </a>
<ul><li><?php echo __('The Rapid Development Framework'); ?></li></ul></li>
<li><a href="http://book.cakephp.org"><?php echo __('CakePHP Documentation'); ?> </a>
<ul><li><?php echo __('Your Rapid Development Cookbook'); ?></li></ul></li>
<li><a href="http://api.cakephp.org"><?php echo __('CakePHP API'); ?> </a>
<ul><li><?php echo __('Quick Reference'); ?></li></ul></li>
<li><a href="http://bakery.cakephp.org"><?php echo __('The Bakery'); ?> </a>
<ul><li><?php echo __('Everything CakePHP'); ?></li></ul></li>
<li><a href="http://live.cakephp.org"><?php echo __('The Show'); ?> </a>
<ul><li><?php echo __('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 echo __('CakePHP Google Group'); ?> </a>
<ul><li><?php echo __('Community mailing list'); ?></li></ul></li>
2008-05-30 11:40:08 +00:00
<li><a href="irc://irc.freenode.net/cakephp">irc.freenode.net #cakephp</a>
2010-04-15 16:20:15 +00:00
<ul><li><?php echo __('Live chat about CakePHP'); ?></li></ul></li>
<li><a href="http://github.com/cakephp/"><?php echo __('CakePHP Code'); ?> </a>
<ul><li><?php echo __('For the Development of CakePHP Git repository, Downloads'); ?></li></ul></li>
<li><a href="http://cakephp.lighthouseapp.com/"><?php echo __('CakePHP Lighthouse'); ?> </a>
<ul><li><?php echo __('CakePHP Tickets, Wiki pages, Roadmap'); ?></li></ul></li>
<li><a href="http://www.cakeforge.org"><?php echo __('CakeForge'); ?> </a>
<ul><li><?php echo __('Open Development for CakePHP'); ?></li></ul></li>
<li><a href="http://astore.amazon.com/cakesoftwaref-20/"><?php echo __('Book Store'); ?> </a>
<ul><li><?php echo __('Recommended Software Books'); ?></li></ul></li>
<li><a href="http://www.cafepress.com/cakefoundation"><?php echo __('CakePHP gear'); ?> </a>
<ul><li><?php echo __('Get your own CakePHP gear - Doughnate to Cake'); ?></li></ul></li>
2010-09-16 22:39:45 +00:00
</ul>