Permalink
Browse files

Reorder checks on home.

  • Loading branch information...
1 parent 3b6fdcd commit e64e8306346c95f04eb09ffdd4a10cf6585bbd8a @davidpersson davidpersson committed with nateabele Mar 24, 2011
Showing with 22 additions and 22 deletions.
  1. +22 −22 app/views/pages/home.html.php
@@ -20,28 +20,6 @@
};
$checks = array(
- 'change' => function() use ($notify, $self) {
- $template = $self->html->link('template', 'http://lithify.me/docs/lithium/template');
-
- return $notify(
- 'notice',
- "You're using the application's default home page.",
- "To change this {$template}, edit the file
- <code>views/pages/home.html.php</code>.
- To change the layout,
- (that is what's wrapping content)
- edit the file <code>views/layouts/default.html.php</code>."
- );
- },
- 'routing' => function() use ($notify, $self) {
- $routing = $self->html->link('routing', 'http://lithify.me/docs/lithium/net/http/Router');
-
- return $notify(
- 'notice',
- 'Use custom routing.',
- "To change the {$routing} edit the file <code>config/routes.php</code>."
- );
- },
'resourcesWritable' => function() use ($notify) {
if (is_writable($path = Libraries::get(true, 'resources'))) {
return $notify('success', 'Resources directory is writable.');
@@ -95,6 +73,28 @@
'Please set <code>register_globals = Off</code> in your <code>php.ini</code> settings.'
);
},
+ 'change' => function() use ($notify, $self) {
+ $template = $self->html->link('template', 'http://lithify.me/docs/lithium/template');
+
+ return $notify(
+ 'notice',
+ "You're using the application's default home page.",
+ "To change this {$template}, edit the file
+ <code>views/pages/home.html.php</code>.
+ To change the layout,
+ (that is what's wrapping content)
+ edit the file <code>views/layouts/default.html.php</code>."
+ );
+ },
+ 'routing' => function() use ($notify, $self) {
+ $routing = $self->html->link('routing', 'http://lithify.me/docs/lithium/net/http/Router');
+
+ return $notify(
+ 'notice',
+ 'Use custom routing.',
+ "To change the {$routing} edit the file <code>config/routes.php</code>."
+ );
+ }
);
?>

0 comments on commit e64e830

Please sign in to comment.