Permalink
Browse files
change variable name to match project name
- Loading branch information...
Showing
with
4 additions
and
4 deletions.
-
+4
−4
index.php
|
@@ -4,13 +4,13 @@ |
|
|
require_once('class.csv-to-api.php');
|
|
|
|
|
|
# Create a new instance of the Instant API class.
|
|
|
-$ia = new CSV_To_API();
|
|
|
+$api = new CSV_To_API();
|
|
|
|
|
|
# Intercept the requested URL and use the parameters within it to determine what data to respond with.
|
|
|
-$ia->parse_query();
|
|
|
+$api->parse_query();
|
|
|
|
|
|
# Gather the requested data from its CSV source, converting it into JSON, XML, or HTML.
|
|
|
-$ia->parse();
|
|
|
+$api->parse();
|
|
|
|
|
|
# Send the JSON to the browser.
|
|
|
-echo $ia->output();
|
|
|
+echo $api->output();
|
0 comments on commit
20c7499