source:
trunk/web/app/run/01_functions.php
@
1
Last change on this file since 1 was 1, checked in by dj3c1t, 13 years ago | |
---|---|
File size: 408 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | function _redirect($env, $url, $message, $wait = 1) |
4 | { $env->e = "redirect"; |
5 | $env->out["redirect"] = array(); |
6 | $env->out["redirect"]["url"] = str_replace("&", "&", $url); |
7 | $env->out["redirect"]["message"] = $message; |
8 | $env->out["redirect"]["wait"] = $wait; |
9 | } |
10 | |
11 | function debug($content) |
12 | { echo "<pre class=\"debug\">\n".htmlentities(print_r($content, true))."</pre>\n"; |
13 | } |
14 | |
15 | ?> |
Note: See TracBrowser
for help on using the repository browser.