added: some more orphans to polish default locale

added: new options to the config:
  url_proto: default: http://
  url_ssl_proto: default: https://
  use_ssl, use_ssl_static, use_ssl_common (whether or not to use SSL protocol)
  use_ssl_only_for_logged_users
  now we are able to use SSL encryption (https) together with normal connections
removed: config option: base_server




git-svn-id: svn://ttmath.org/publicrep/winix/trunk@755 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-08-17 23:09:47 +00:00
parent 3b2a1c3f25
commit ee6500ac65
28 changed files with 363 additions and 82 deletions

View File

@@ -149,14 +149,16 @@ static std::wstring tmp_path;
if( item.type == Item::dir )
{
dirs->MakePath(item.id, tmp_path);
item_link = config->base_url;
item_link = config->url_proto;
item_link += config->base_url;
item_link += tmp_path;
dir_link = item_link;
}
else
{
dirs->MakePath(item.parent_id, tmp_path);
item_link = config->base_url;
item_link = config->url_proto;
item_link += config->base_url;
item_link += tmp_path;
dir_link = item_link;
item_link += item.url;