root/devel/mod/rpc/lib/function_load_file.php

Revision 454, 230 bytes (checked in by sven, 2 years ago)

removed some addslashes. replaced some with adodb qstr().
removed some stripslashes. a lot more still want to go, depending on how much we care about showing users even more inappropriate backslashes than currently.
fixed a few more php notices.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     // Support run()
4     if (isset($parameter) && $parameter != "")
5     {
6         $id = $parameter['id'];
7
8         $file = new File($id);
9     }
10     else
11     {
12         $file = new File();
13     }
14
15     $run_result = $file;
16
17 ?>
18
Note: See TracBrowser for help on using the browser.