mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:27:31 -05:00 
			
		
		
		
	new clear cache route
This commit is contained in:
		
							parent
							
								
									20ea334106
								
							
						
					
					
						commit
						74631e39e4
					
				@ -273,7 +273,8 @@ class SetupController extends Controller
 | 
				
			|||||||
    public function update()
 | 
					    public function update()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if( Ninja::isNinja() || !request()->has('secret') || (request()->input('secret') != config('ninja.update_secret')) )
 | 
					        // if( Ninja::isNinja() || !request()->has('secret') || (request()->input('secret') != config('ninja.update_secret')) )
 | 
				
			||||||
 | 
					        if(!request()->has('secret') || (request()->input('secret') != config('ninja.update_secret')) )
 | 
				
			||||||
            return redirect('/');
 | 
					            return redirect('/');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $cacheCompiled = base_path('bootstrap/cache/compiled.php');
 | 
					        $cacheCompiled = base_path('bootstrap/cache/compiled.php');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user