diff options
Diffstat (limited to 'demos/blog-tutorial/protected')
-rw-r--r-- | demos/blog-tutorial/protected/pages/Day2/CreateAR.page | 2 | ||||
-rw-r--r-- | demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/blog-tutorial/protected/pages/Day2/CreateAR.page b/demos/blog-tutorial/protected/pages/Day2/CreateAR.page index c8684ee0..381e2469 100644 --- a/demos/blog-tutorial/protected/pages/Day2/CreateAR.page +++ b/demos/blog-tutorial/protected/pages/Day2/CreateAR.page @@ -24,7 +24,7 @@ Instead of writing the classes manually, we will use the <a href="http://www.pra Under the <tt>blog</tt> directory, run the following command to enter into the interactive mode of the command line tool:
</p>
-<com:TTextHighlighter CssClass="source cli">
+<com:TTextHighlighter CssClass="source cli" Language="text">
php path/to/prado-cli.php shell .
</com:TTextHighlighter>
diff --git a/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page b/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page index 9020c517..c81e634c 100644 --- a/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page +++ b/demos/blog-tutorial/protected/pages/Day4/CreateNewPost.page @@ -14,7 +14,7 @@ Because <tt>NewPost</tt> can only be accessed by authenticated users, we add a p <?xml version="1.0" encoding="utf-8"?>
<configuration>
<authorization>
- <deny pages="NewPost,EditPost" roles="?" />
+ <deny pages="NewPost,EditPost" users="?" />
</authorization>
</configuration>
</com:TTextHighlighter>
|