summaryrefslogblamecommitdiffstats
path: root/examples/root.control.php
blob: 614ab33947340e2f6dc5b8c792cad05541137801 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                                          
                            









                                                                

                                                                                
                    case "deleteaccount": $ctrl = new Deleteacct(); break;
                    default:
                        /* Check if arg is an object guid */
                        $obj = new DBObject();

                        if ($obj->isGUID($argv[0]))
                        {
                            $ctrl = new Obj();
                            break;
                        }

                        /* No page to show for requested path */
                        throw new Exception("The requested path is not valid.");
                        break;