Node.js based forum software built for the modern web
fixing 'use_port' to save into config as boolean
Julian Lam87abe426d82e
diff --git a/src/install.js b/src/install.jsindex 04b555f13f..77cc7da160 100644--- a/src/install.js+++ b/src/install.js@@ -81,6 +81,7 @@ var async = require('async'),// Add hardcoded valuesconfig['bcrypt_rounds'] = 12,config['upload_path'] = '/public/uploads';+ config['use_port'] = (config['use_port'].slice(0, 1) === 'y') ? true : false;var urlObject = url.parse(config.base_url),relative_path = (urlObject.pathname && urlObject.pathname.length > 1) ? urlObject.pathname : '',