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-04-12 00:34:16 +00:00
<?php Debugger::checkSessionKey(); ?>
2007-01-10 22:53:52 +00:00
<p>
<span class="notice">
2007-04-30 07:38:47 +00:00
<?php
__('Your tmp directory is ');
if(is_writable(TMP)):
2007-01-10 22:53:52 +00:00
__('writable.');
else:
__('NOT writable.');
endif;
?>
</span>
</p>
<p>
<span class="notice">
2007-04-30 07:38:47 +00:00
<?php
__('Your cache is ');
2007-05-03 00:44:02 +00:00
if (Cache::isInitialized()):
2007-04-30 07:38:47 +00:00
__('set up and initialized properly.');
$settings = Cache::settings();
2007-05-03 00:44:02 +00:00
echo '<p>' . $settings['class'];
2007-04-30 07:38:47 +00:00
__(' is being used to cache, to change this edit config/core.php ');
2007-05-03 00:44:02 +00:00
echo '</p>';
echo 'Settings: <ul>';
foreach ($settings as $name => $value):
echo '<li>' . $name . ': ' . $value . '</li>';
endforeach;
echo '</ul>';
else:
2007-04-30 07:38:47 +00:00
__('NOT working.');
echo '<br />';
__('Edit: config/core.php to insure you have the newset version of this file and the variable $cakeCache set properly');
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
__('Your database configuration file is ');
$filePresent = null;
2007-04-30 07:38:47 +00:00
if(file_exists(CONFIGS.'database.php')):
2007-01-10 22:53:52 +00:00
__('present.');
$filePresent = true;
else:
__('NOT present.');
echo '<br/>';
2007-04-30 07:38:47 +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-01-10 22:53:52 +00:00
__('Cake');
if($connected->isConnected()):
__(' is able to ');
2007-04-30 07:38:47 +00:00
else:
2007-01-10 22:53:52 +00:00
__(' is NOT able to ');
endif;
__('connect to the database.');
2007-04-30 07:38:47 +00:00
?>
2007-01-10 22:53:52 +00:00
</span>
</p>
2006-11-21 22:47:42 +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-01-09 07:36:27 +00:00
<?php __('To change the content of this page, create: /app/views/pages/home.ctp.'); ?><br />
<?php __('To change its layout, create: /app/views/layouts/default.ctp.'); ?><br />
2006-12-23 08:21:10 +00:00
<a href="http://manual.cakephp.org/"><?php __('See the views section of the manual for more info.'); ?> </a><br />
2006-12-23 00:29:39 +00:00
<?php __('You can also add some CSS styles for your pages at: app/webroot/css/.'); ?>
2005-10-03 04:48:00 +00:00
</p>
2007-01-10 22:53:52 +00:00
<h2><?php __('Getting Started'); ?></h2>
<p>
<a href="http://manual.cakephp.org/appendix/blog_tutorial"><?php __('The 15 min Blog Tutorial'); ?></a><br />
2007-05-03 00:44:02 +00:00
<a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-cake1.html"><?php __('Cook up Web sites fast with CakePHP'); ?></a><br />
<a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-wiki1.html"><?php __('Create an interactive production wiki using PHP'); ?></a>
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>
<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>
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>