mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-21 02:41:04 +00:00
* GSWeb.framework/GSWApplication+Defaults.m
(cgiAdaptorURL, setCGIAdaptorURL): Fix naming to conform to key value coding methods. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19972 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f09ed521ce
commit
5c7de0b8e0
2 changed files with 13 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-09-02 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* GSWeb.framework/GSWApplication+Defaults.m
|
||||
(cgiAdaptorURL, setCGIAdaptorURL): Fix naming to conform to key
|
||||
value coding methods.
|
||||
|
||||
2004-09-01 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* GSWeb.framework/GSWDeclarationParser.m:
|
||||
|
|
|
@ -767,24 +767,24 @@ static BOOL _dflt_directConnectEnabled = NO;
|
|||
};
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
static BOOL _dflt_init_cgiAdaptorURL = NO;
|
||||
static NSString *_dflt_cgiAdaptorURL = nil;
|
||||
static BOOL _dflt_init_CGIAdaptorURL = NO;
|
||||
static NSString *_dflt_CGIAdaptorURL = nil;
|
||||
+(NSString*)cgiAdaptorURL
|
||||
{
|
||||
INIT_DFLT_OBJ(cgiAdaptorURL,
|
||||
INIT_DFLT_OBJ(CGIAdaptorURL,
|
||||
GSWOPT_CGIAdaptorURL[GSWebNamingConv]);
|
||||
if ([_dflt_cgiAdaptorURL length] == 0)
|
||||
if ([_dflt_CGIAdaptorURL length] == 0)
|
||||
{
|
||||
[self setCGIAdaptorURL: @"http://localhost/cgi-bin/GSWeb"];
|
||||
}
|
||||
return _dflt_cgiAdaptorURL;
|
||||
return _dflt_CGIAdaptorURL;
|
||||
};
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
+(void)setCGIAdaptorURL:(NSString*)url
|
||||
{
|
||||
ASSIGNCOPY(_dflt_cgiAdaptorURL, url);
|
||||
_dflt_init_cgiAdaptorURL = YES;
|
||||
ASSIGNCOPY(_dflt_CGIAdaptorURL, url);
|
||||
_dflt_init_CGIAdaptorURL = YES;
|
||||
};
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue