mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	fix issue for apache
This commit is contained in:
		
							parent
							
								
									1d9dcdd5b2
								
							
						
					
					
						commit
						30dbdbbde9
					
				
							
								
								
									
										7
									
								
								le.sh
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								le.sh
									
									
									
									
									
								
							| @ -296,6 +296,9 @@ _apachePath() { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _restoreApache() { | _restoreApache() { | ||||||
|  |   if [ -z "$usingApache" ] ; then | ||||||
|  |     return 0 | ||||||
|  |   fi | ||||||
|   _initpath |   _initpath | ||||||
|   if ! _apachePath ; then |   if ! _apachePath ; then | ||||||
|     return 1 |     return 1 | ||||||
| @ -353,7 +356,7 @@ Require all granted | |||||||
|     _restoreApache |     _restoreApache | ||||||
|     return 1; |     return 1; | ||||||
|   fi |   fi | ||||||
|    |   usingApache="1" | ||||||
|   return 0 |   return 0 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @ -440,6 +443,8 @@ issue() { | |||||||
|       return 1 |       return 1 | ||||||
|     fi |     fi | ||||||
|     wellknown_path="$ACME_DIR" |     wellknown_path="$ACME_DIR" | ||||||
|  |   else | ||||||
|  |     usingApache="" | ||||||
|   fi |   fi | ||||||
| 
 | 
 | ||||||
|   createAccountKey $Le_Domain $Le_Keylength |   createAccountKey $Le_Domain $Le_Keylength | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user