From 9676994bab90abeabd48e0167a1f822d010ecc2b Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Thu, 22 Nov 2012 21:31:07 +0000 Subject: [PATCH] Added code comments --- index.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/index.php b/index.php index 1f613f8..34bb640 100644 --- a/index.php +++ b/index.php @@ -6,15 +6,23 @@ $app = new Slim(); // Functions + //GET route $app->get('/', function () { + // Require HTML Template require('templates/main.php'); }); + // Generate Passcode $app->post('/passcode', function () { + // Include function to generate APRS Code require('aprs_func.php'); + + // Store Passcode $passcode = aprspass($_POST['callsign']); + + // Load Page require('templates/passcode.php'); });