source: branches/rsr.v5.1.1/web/app/run/01_functions.php @ 10

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

import initial

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("&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.