2005-10-09 01:56:21 +00:00
<?php
/* SVN FILE: $Id$ */
/**
*
* PHP versions 4 and 5
*
2007-02-02 10:39:45 +00:00
* CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
* Copyright 2005-2007, Cake Software Foundation, Inc.
2006-05-26 05:29:17 +00:00
* 1785 E. Sahara Avenue, Suite 490-204
* Las Vegas, Nevada 89104
2005-10-09 01:56:21 +00:00
*
2005-12-23 21:57:26 +00:00
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
2005-10-09 01:56:21 +00:00
*
2005-12-23 21:57:26 +00:00
* @filesource
2007-02-02 10:39:45 +00:00
* @copyright Copyright 2005-2007, Cake Software Foundation, Inc.
* @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
2006-05-26 05:29:17 +00:00
* @package cake
* @subpackage cake.cake.libs.view.templates.pages
2007-02-02 10:39:45 +00:00
* @since CakePHP(tm) v 0.10.0.1076
2006-05-26 05:29:17 +00:00
* @version $Revision$
* @modifiedby $LastChangedBy$
* @lastmodified $Date$
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
2005-10-09 01:56:21 +00:00
*/
?>
2007-08-05 02:03:18 +00:00
<?php
if(Configure::read() > 0):
Debugger::checkSessionKey();
endif;
?>
2007-01-10 22:53:52 +00:00
<p>
<span class="notice">
2007-04-30 07:38:47 +00:00
<?php
2007-06-20 06:15:35 +00:00
if (is_writable(TMP)):
2007-10-06 06:46:45 +00:00
__('Your tmp directory is writable.');
2007-01-10 22:53:52 +00:00
else:
2007-10-06 06:46:45 +00:00
__('Your tmp directory is NOT writable.');
2007-01-10 22:53:52 +00:00
endif;
?>
</span>
</p>
<p>
<span class="notice">
2007-04-30 07:38:47 +00:00
<?php
2007-05-03 00:44:02 +00:00
if (Cache::isInitialized()):
2007-10-06 06:46:45 +00:00
__('Your cache is set up and initialized properly.');
2007-04-30 07:38:47 +00:00
$settings = Cache::settings();
2007-10-06 06:46:45 +00:00
echo '<p>';
2007-10-20 05:55:37 +00:00
echo sprintf(__('%s is being used to cache, to change this edit config/core.php ', true), $settings['engine'] . 'Engine');
2007-05-03 00:44:02 +00:00
echo '</p>';
2007-05-18 21:16:13 +00:00
2007-05-03 00:44:02 +00:00
echo 'Settings: <ul>';
2007-05-18 21:16:13 +00:00
foreach ($settings as $name => $value):
2007-05-03 00:44:02 +00:00
echo '<li>' . $name . ': ' . $value . '</li>';
endforeach;
echo '</ul>';
2007-05-18 21:16:13 +00:00
2007-05-03 00:44:02 +00:00
else:
2007-10-06 06:46:45 +00:00
__('Your cache is NOT working.');
2007-04-30 07:38:47 +00:00
echo '<br />';
2007-09-11 20:48:37 +00:00
if (is_writable(TMP . 'cache')):
2007-10-20 05:55:37 +00:00
__('Edit: config/core.php to insure you have the newset version of this file and the variable $cakeCache set properly');
2007-09-11 20:48:37 +00:00
else:
__('Your cache directory is not writable');
2007-05-18 21:16:13 +00:00
endif;
2007-05-03 00:44:02 +00:00
endif;
2007-04-30 07:38:47 +00:00
?>
</span>
</p>
<p>
<span class="notice">
<?php
2007-01-10 22:53:52 +00:00
$filePresent = null;
2007-06-20 06:15:35 +00:00
if (file_exists(CONFIGS.'database.php')):
2007-10-06 06:46:45 +00:00
__('Your database configuration file is present.');
2007-01-10 22:53:52 +00:00
$filePresent = true;
else:
2007-10-06 06:46:45 +00:00
__('Your database configuration file is NOT present.');
2007-01-10 22:53:52 +00:00
echo '<br/>';
2007-10-20 05:55:37 +00:00
__('Rename config/database.php.default to config/database.php');
2007-01-10 22:53:52 +00:00
endif;
?>
</span>
</p>
2007-04-30 07:38:47 +00:00
<?php
2007-01-10 22:53:52 +00:00
if (!empty($filePresent)):
2007-04-30 07:38:47 +00:00
uses('model' . DS . 'connection_manager');
2007-01-10 22:53:52 +00:00
$db = ConnectionManager::getInstance();
$connected = $db->getDataSource('default');
?>
<p>
<span class="notice">
2007-04-30 07:38:47 +00:00
<?php
2007-06-20 06:15:35 +00:00
if ($connected->isConnected()):
2007-10-06 06:46:45 +00:00
__('Cake is able to connect to the database.');
2007-04-30 07:38:47 +00:00
else:
2007-10-06 06:46:45 +00:00
__('Cake is NOT able to connect to the database.');
2007-01-10 22:53:52 +00:00
endif;
2007-04-30 07:38:47 +00:00
?>
2007-01-10 22:53:52 +00:00
</span>
</p>
2007-10-06 06:46:45 +00:00
<?php endif;?>
2007-01-10 22:53:52 +00:00
<h2><?php echo sprintf(__('Release Notes for CakePHP %s.', true), Configure::version()); ?></h2>
2006-12-23 08:21:10 +00:00
<a href="https://trac.cakephp.org/wiki/notes/1.2.x.x"><?php __('Read the release notes and get the latest version'); ?> </a>
2006-12-23 05:43:40 +00:00
<h2><?php __('Editing this Page'); ?></h2>
2005-10-03 04:48:00 +00:00
<p>
2007-10-23 01:40:10 +00:00
<?php
2007-10-23 02:24:49 +00:00
__('To change the content of this page, edit: app/views/pages/home.ctp.<br />
To change its layout, edit: app/views/layouts/default.ctp.<br />
2007-10-23 01:40:10 +00:00
You can also add some CSS styles for your pages at: /app/webroot/css.');
?>
</p>
2007-01-10 22:53:52 +00:00
<h2><?php __('Getting Started'); ?></h2>
<p>
2007-09-11 20:48:37 +00:00
<a href="http://manual.cakephp.org/appendix/blog_tutorial"><?php __('The 15 min Blog Tutorial'); ?></a><br />
<a href="http://cakephp.org/files/OCPHP.pdf"><?php __('The OCPHP presentation on new features in 1.2'); ?></a><br />
2007-01-10 22:53:52 +00:00
</p>
2006-12-23 00:29:39 +00:00
<h2><?php __('More about Cake'); ?></h2>
2005-10-03 04:48:00 +00:00
<p>
2006-12-23 00:29:39 +00:00
<?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.'); ?>
2005-10-03 04:48:00 +00:00
</p>
<p>
2006-12-23 00:29:39 +00:00
<?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.'); ?>
2005-12-23 21:57:26 +00:00
</p>
2007-10-06 06:46:45 +00:00
<br />
2005-12-23 21:57:26 +00:00
<ul>
2006-12-23 08:21:10 +00:00
<li><a href="http://www.cakefoundation.org/"><?php __('Cake Software Foundation'); ?> </a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('Promoting development related to CakePHP'); ?></li></ul></li>
2007-10-06 06:46:45 +00:00
<li><a href="http://live.cakephp.org"><?php __('The Show'); ?> </a>
<ul><li><?php __('The Show is a weekly live internet radio broadcast where we discuss CakePHP-related topics and answer questions live via IRC, Skype, and telephone.'); ?></li></ul></li>
2006-12-23 08:21:10 +00:00
<li><a href="http://bakery.cakephp.org"><?php __('The Bakery'); ?> </a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('Everything CakePHP'); ?></li></ul></li>
2006-12-23 08:21:10 +00:00
<li><a href="http://astore.amazon.com/cakesoftwaref-20/"><?php __('Book Store'); ?> </a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('Recommended Software Books'); ?></li></ul></li>
2006-12-23 08:21:10 +00:00
<li><a href="http://www.cafepress.com/cakefoundation"><?php __('CakeSchwag'); ?> </a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('Get your own CakePHP gear - Doughnate to Cake'); ?></li></ul></li>
2006-12-23 08:21:10 +00:00
<li><a href="http://www.cakephp.org"><?php __('CakePHP'); ?> </a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('The Rapid Development Framework'); ?></li></ul></li>
2006-12-23 08:21:10 +00:00
<li><a href="http://manual.cakephp.org"><?php __('CakePHP Manual'); ?> </a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('Your Rapid Development Cookbook'); ?></li></ul></li>
2006-12-23 08:21:10 +00:00
<li><a href="http://api.cakephp.org"><?php __('CakePHP API'); ?> </a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('Docblock Your Best Friend'); ?></li></ul></li>
2006-12-23 08:21:10 +00:00
<li><a href="http://www.cakeforge.org"><?php __('CakeForge'); ?> </a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('Open Development for CakePHP'); ?></li></ul></li>
2006-12-23 08:21:10 +00:00
<li><a href="https://trac.cakephp.org/"><?php __('CakePHP Trac'); ?> </a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('For the Development of CakePHP (Tickets, SVN browser, Roadmap, Changelogs)'); ?></li></ul></li>
2006-12-23 08:21:10 +00:00
<li><a href="http://groups-beta.google.com/group/cake-php"><?php __('CakePHP Google Group'); ?> </a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('Community mailing list'); ?></li></ul></li>
2006-05-26 05:29:17 +00:00
<li><a href="irc://irc.freenode.net/cakephp">irc.freenode.net #cakephp</a>
2006-12-23 00:29:39 +00:00
<ul><li><?php __('Live chat about CakePHP'); ?></li></ul></li>
2005-12-23 21:57:26 +00:00
</ul>