From 26b09e863fdd7118de301777a73426760dae21ea Mon Sep 17 00:00:00 2001 From: Finn Date: Mon, 5 Sep 2016 16:11:52 +0100 Subject: [PATCH] Updated Flow of the code (markdown) --- Flow-of-the-code.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow-of-the-code.md b/Flow-of-the-code.md index 7e918cb..6f2b88a 100644 --- a/Flow-of-the-code.md +++ b/Flow-of-the-code.md @@ -3,8 +3,8 @@ It should be noted that in all of the HTTP posts that at the end or in certain p # App Start The server is initialised and will connect to the database if the config is correct. - my $config = plugin Config => {file => 'myapp.conf'}; - my $dbh = DBI->connect($config->{dsn},$config->{user},$config->{pass}) or die "Could not connect"; +`my $config = plugin Config => {file => 'myapp.conf'};` +`my $dbh = DBI->connect($config->{dsn},$config->{user},$config->{pass}) or die "Could not connect";` # Initial Token Registration When the user is given the token, they then submit initially that token to the app. At first, the code receives the token in json format from an HTTP post to "/token".