mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-30 16:50:52 +00:00
* GSWeb.framework/htmltag.g: changed gsweb include dir from
gsweb/GSWeb.framework/ to GSWeb/ * GSWeb.framework/html.g: likewise. * GSWeb.framework/PageDef.g: likewise. * GSWeb.framework/GSWResourceManager.m ([GSWResourceManager +_applicationGSWBundle]): fix location of MIME.plist and language.plist git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@7936 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
44817b9a86
commit
7e94a3b5ef
5 changed files with 20 additions and 9 deletions
|
@ -1569,9 +1569,10 @@ NSString* globalLanguagesPListPathName=nil;
|
|||
ofType:@"plist"]; //TODO should return /usr/GNUstep/Libraries/GNUstepWeb/GSWeb.framework/Resources/MIME.plist
|
||||
NSDebugMLLog(@"resmanager",@"globalMimePListPathName=%@",globalMimePListPathName);
|
||||
if (!globalMimePListPathName)
|
||||
globalMimePListPathName=[NSBundle pathForGNUstepResource:@"MIME"
|
||||
ofType:@"plist"
|
||||
inDirectory:@"gsweb/GSWeb.framework/Resources"];
|
||||
globalMimePListPathName = [[NSBundle bundleForClass: self]
|
||||
pathForResource:@"MIME"
|
||||
ofType:@"plist"];
|
||||
|
||||
NSDebugMLLog(@"resmanager",@"globalMimePListPathName=%@",globalMimePListPathName);
|
||||
#ifdef DEBUG
|
||||
if (!globalMimePListPathName)
|
||||
|
@ -1611,9 +1612,10 @@ NSString* globalLanguagesPListPathName=nil;
|
|||
ofType:@"plist"];
|
||||
NSDebugMLLog(@"resmanager",@"globalLanguagesPListPathName=%@",globalLanguagesPListPathName);
|
||||
if (!globalLanguagesPListPathName)
|
||||
globalLanguagesPListPathName=[NSBundle pathForGNUstepResource:@"languages"
|
||||
ofType:@"plist"
|
||||
inDirectory:@"gsweb/GSWeb.framework/Resources"];
|
||||
globalLanguagesPListPathName=[[NSBundle bundleForClass: self]
|
||||
pathForResource:@"languages"
|
||||
ofType:@"plist"];
|
||||
|
||||
NSDebugMLLog(@"resmanager",@"globalLanguagesPListPathName=%@",globalLanguagesPListPathName);
|
||||
NSAssert(globalLanguagesPListPathName,@"No resource languages.plist");
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue