Skip to content

Instantly share code, notes, and snippets.

@claylo
Created June 14, 2011 03:26
Show Gist options
  • Select an option

  • Save claylo/1024254 to your computer and use it in GitHub Desktop.

Select an option

Save claylo/1024254 to your computer and use it in GitHub Desktop.

Revisions

  1. Clay Loveless revised this gist Jun 14, 2011. No changes.
  2. Clay Loveless created this gist Jun 14, 2011.
    7 changes: 7 additions & 0 deletions foo
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    <?php
    // Wow, we know what controller to use!
    require_once 'MyApp/Controllers/Foo.php';

    // handle your HTTP Methods inside your controller
    $app = new MyApp_Controllers_Foo();
    $app->run();