update documentation

This commit is contained in:
Andrew Pamment 2018-02-09 16:32:34 +10:00
parent ca5736a000
commit aa0c3234ae
3 changed files with 4 additions and 7 deletions

View File

@ -24,10 +24,12 @@ should work on debian and debian derivatives.
## Install Magicka ## Install Magicka
Clone the repo Clone the repo and checkout the branch you want, eg. v0.9-patch.
git clone https://github.com/MagickaBBS/MagickaBBS git clone https://github.com/MagickaBBS/MagickaBBS
git checkout v0.9-patch
Build the BBS Build the BBS
make www make www

View File

@ -18,7 +18,7 @@ Assuming you've installed Magicka BBS from via git rather than use a ZIP file or
make cleanwww make cleanwww
make www make www
Where branch is the branch you're updating to, for example v0.9-alpha. Where branch is the branch you're updating to, for example v0.9-patch.
## Step 3. Update Scripts ## Step 3. Update Scripts

View File

@ -169,11 +169,6 @@ char *www_decode_hash(char *hash) {
return NULL; return NULL;
} }
#if 0
// TODO: check security level...
if (conf.file_directories[dir]->sec_level < )
#endif
// get filename from database // get filename from database
snprintf(buffer, PATH_MAX, "%s/%s.sq3", conf.bbs_path, conf.file_directories[dir]->file_subs[sub]->database); snprintf(buffer, PATH_MAX, "%s/%s.sq3", conf.bbs_path, conf.file_directories[dir]->file_subs[sub]->database);
rc = sqlite3_open(buffer, &db); rc = sqlite3_open(buffer, &db);