mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5629 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
d64636796e
commit
7c6edeb33d
2 changed files with 17 additions and 14 deletions
|
@ -26,7 +26,7 @@ endif;
|
|||
__('set up and initialized properly.');
|
||||
\$settings = Cache::settings();
|
||||
echo '<p>' . \$settings['class'];
|
||||
__(' is being used to cache, to change this edit config/core.php ');
|
||||
__(' is being used to cache, to change this edit config'.DS.'core.php ');
|
||||
echo '</p>';
|
||||
|
||||
echo 'Settings: <ul>';
|
||||
|
@ -38,8 +38,10 @@ endif;
|
|||
else:
|
||||
__('NOT working.');
|
||||
echo '<br />';
|
||||
if (is_writable(TMP)):
|
||||
__('Edit: config/core.php to insure you have the newset version of this file and the variable \$cakeCache set properly');
|
||||
if (is_writable(TMP . 'cache')):
|
||||
__('Edit: config'.DS.'core.php to insure you have the newset version of this file and the variable \$cakeCache set properly');
|
||||
else:
|
||||
__('Your cache directory is not writable');
|
||||
endif;
|
||||
endif;
|
||||
?>
|
||||
|
@ -56,7 +58,7 @@ endif;
|
|||
else:
|
||||
__('NOT present.');
|
||||
echo '<br/>';
|
||||
__('Rename config/database.php.default to config/database.php');
|
||||
__('Rename config'.DS.'database.php.default to config'.DS.'database.php');
|
||||
endif;
|
||||
?>
|
||||
</span>
|
||||
|
@ -83,8 +85,8 @@ if (!empty(\$filePresent)):
|
|||
$output .= "<?php endif;?>\n";
|
||||
$output .= "<h3>Editing this Page</h3>\n";
|
||||
$output .= "<p>\n";
|
||||
$output .= "To change the content of this page, edit: ".$dir.DS."views".DS."pages".DS."home.ctp.<br />\n";
|
||||
$output .= "To change its layout, edit: ".$dir.DS."views".DS."layouts".DS."default.ctp.<br />\n";
|
||||
$output .= "You can also add some CSS styles for your pages at: ".$dir.DS."webroot/css/.\n";
|
||||
$output .= "To change the content of this page, edit: ".VIEWS."pages".DS."home.ctp.<br />\n";
|
||||
$output .= "To change its layout, edit: ".VIEWS."layouts".DS."default.ctp.<br />\n";
|
||||
$output .= "You can also add some CSS styles for your pages at: ".$dir."webroot".DS."css.\n";
|
||||
$output .= "</p>\n";
|
||||
?>
|
|
@ -61,8 +61,10 @@ endif;
|
|||
else:
|
||||
__('NOT working.');
|
||||
echo '<br />';
|
||||
if (is_writable(TMP)):
|
||||
__('Edit: config/core.php to insure you have the newset version of this file and the variable $cakeCache set properly');
|
||||
if (is_writable(TMP . 'cache')):
|
||||
__('Edit: config/core.php to insure you have the newset version of this file and the variable \$cakeCache set properly');
|
||||
else:
|
||||
__('Your cache directory is not writable');
|
||||
endif;
|
||||
endif;
|
||||
?>
|
||||
|
@ -79,7 +81,7 @@ endif;
|
|||
else:
|
||||
__('NOT present.');
|
||||
echo '<br/>';
|
||||
__('Rename config/database.php.default to config/database.php');
|
||||
__('Rename config'.DS.'database.php.default to config'.DS.'database.php');
|
||||
endif;
|
||||
?>
|
||||
</span>
|
||||
|
@ -111,13 +113,12 @@ if (!empty($filePresent)):
|
|||
<?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 />
|
||||
<a href="http://manual.cakephp.org/"><?php __('See the views section of the manual for more info.'); ?> </a><br />
|
||||
<?php __('You can also add some CSS styles for your pages at: app/webroot/css/.'); ?>
|
||||
<?php __('You can also add some CSS styles for your pages at: /app/webroot/css/.'); ?>
|
||||
</p>
|
||||
<h2><?php __('Getting Started'); ?></h2>
|
||||
<p>
|
||||
<a href="http://manual.cakephp.org/appendix/blog_tutorial"><?php __('The 15 min Blog Tutorial'); ?></a><br />
|
||||
<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>
|
||||
<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 />
|
||||
</p>
|
||||
<h2><?php __('More about Cake'); ?></h2>
|
||||
<p>
|
||||
|
|
Loading…
Reference in a new issue