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:
@@ -73,18 +73,7 @@ void dir_parent_without_slash(Info & i)
|
||||
// bo inaczej i tak bylo by 'access denied'
|
||||
void dir_can_read_exec(Info & i)
|
||||
{
|
||||
bool result = true;
|
||||
|
||||
for(size_t a=0 ; a<cur->request->dir_tab.size() ; ++a)
|
||||
{
|
||||
if( !system->HasReadExecAccess(*cur->request->dir_tab[a]) )
|
||||
{
|
||||
result = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
i.res = result;
|
||||
i.res = system->HasReadExecAccessToPath(cur->request->dir_tab);
|
||||
}
|
||||
|
||||
|
||||
@@ -249,6 +238,7 @@ void dir_tab_url(Info & i)
|
||||
|
||||
void dir_tab_link(Info & i)
|
||||
{
|
||||
doc_proto(i);
|
||||
i.out << config->base_url;
|
||||
|
||||
for(size_t a = 0 ; a <= dir_index && a < cur->request->dir_tab.size() ; ++a)
|
||||
|
Reference in New Issue
Block a user