Update of /cvsroot/bobs/bobs
In directory sc8-pr-cvs1:/tmp/cvs-serv14330
Modified Files:
workspace.php
Log Message:
I'm lame. I didn't notice this wasn't converted to use $_GET
Index: workspace.php
===================================================================
RCS file: /cvsroot/bobs/bobs/workspace.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- workspace.php 14 Sep 2002 13:53:23 -0000 1.2
+++ workspace.php 8 Jan 2003 14:38:18 -0000 1.3
@@ -8,13 +8,13 @@
$incdir = "winc/";
-if ( isset($type) ) {
- switch($type) {
+if ( isset($_GET['type']) ) {
+ switch($_GET['type']) {
case browse:
?>
<frameset COLS="50%,50%">
- <frame name=tree src=tree.php?where=<?php echo $where ?>>
- <frame name=files src=files.php?show=&where=<?php echo $where ?>>
+ <frame name=tree src=tree.php?where=<?php echo $_GET['where'] ?>>
+ <frame name=files src=files.php?show=&where=<?php echo $_GET['where'] ?>>
</frameset>
<?php
break;
@@ -37,7 +37,7 @@
}
}
-if ( !isset($type) ) {
+if ( !isset($_GET['type']) ) {
include($incdir . "help.html");
}
|