source: trunk/web/app/run/01_functions.php @ 10

Last change on this file since 10 was 6, checked in by dj3c1t, 13 years ago

mise a jour du trunk

File size: 408 bytes
RevLine 
[6]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("&amp;", "&", $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.