Skip to content

Commit

Permalink
完善示例代码
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonweicn committed Jun 26, 2018
1 parent d1deea9 commit 0cce2e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions App/View/example/captcha.php
@@ -1,5 +1,6 @@
<?php if (isset($this->code)) echo '<p>input code: ' . $this->code . '</p>';?>
<?php if (isset($this->info)) echo '<p>check result: ' . $this->info . '</p>';?>
<h1>Example: Captcha</h1>
<img src="getcaptcha" onclick="this.src='getcaptcha?t='+Math.random()" />
<form method="post" action="captcha">
<p>code:<input type="text" name="code" value="" />
Expand Down
1 change: 1 addition & 0 deletions App/View/example/session.php
@@ -1,2 +1,3 @@
<h1>Example: Session</h1>
<p>Current timestamp: <?php echo $this->t;?></p>
<p>Session timestamp: <?php echo $this->session_time;?></p>

0 comments on commit 0cce2e4

Please sign in to comment.