comparison contrib/web/php-admin/htdocs/edit.php @ 769:fc5892d87716

Update php code to use superglobals
author Ben Schmidt
date Fri, 29 Oct 2010 22:13:47 +1100
parents 4be42e1ca045
children b9b60f3dd694
comparison
equal deleted inserted replaced
768:5c46136b0359 769:fc5892d87716
88 function encode_entities($str) { return htmlentities($str); } 88 function encode_entities($str) { return htmlentities($str); }
89 89
90 90
91 $tpl = new rFastTemplate($templatedir); 91 $tpl = new rFastTemplate($templatedir);
92 92
93 $list = $HTTP_GET_VARS["list"]; 93 $list = $_GET["list"];
94 94
95 if(!isset($list)) 95 if(!isset($list))
96 die("no list specified"); 96 die("no list specified");
97 97
98 if (dirname(realpath($topdir."/".$list)) != realpath($topdir)) 98 if (dirname(realpath($topdir."/".$list)) != realpath($topdir))