forked from indymedia/epicyon
				
			If a theme isn't set in config.json then set it to default
							parent
							
								
									19703c0336
								
							
						
					
					
						commit
						9ec5379a97
					
				|  | @ -355,6 +355,11 @@ if not os.path.isdir(baseDir+'/cache/announce'): | ||||||
|     print('Creating announce cache') |     print('Creating announce cache') | ||||||
|     os.mkdir(baseDir+'/cache/announce') |     os.mkdir(baseDir+'/cache/announce') | ||||||
| 
 | 
 | ||||||
|  | # set the theme in config.json | ||||||
|  | themeName=getConfigParam(baseDir,'theme') | ||||||
|  | if not themeName: | ||||||
|  |     setConfigParam(baseDir,'theme','default') | ||||||
|  |      | ||||||
| if args.domain: | if args.domain: | ||||||
|     domain=args.domain |     domain=args.domain | ||||||
|     setConfigParam(baseDir,'domain',domain) |     setConfigParam(baseDir,'domain',domain) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue