This commit is contained in:
Pierre-Olivier Latour
2014-04-01 13:16:58 -07:00
parent 148735ba8f
commit 22d12406c8
+1 -2
View File
@@ -77,8 +77,7 @@
- (id)initWithUploadDirectory:(NSString*)path { - (id)initWithUploadDirectory:(NSString*)path {
if ((self = [super init])) { if ((self = [super init])) {
#warning NSBundle* siteBundle = [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"GCDWebUploader" ofType:@"bundle"]];
NSBundle* siteBundle = [NSBundle bundleWithPath:@"/Users/pol/Source/GitHub-GCDWebServer/GCDWebUploader/GCDWebUploader.bundle"]; // [[NSBundle mainBundle] pathForResource:@"GCDWebUploader" ofType:@"bundle"]
if (siteBundle == nil) { if (siteBundle == nil) {
#if !__has_feature(objc_arc) #if !__has_feature(objc_arc)
[self release]; [self release];