mirror of
				https://github.com/Mibew/mibew.git
				synced 2025-11-04 04:15:19 +03:00 
			
		
		
		
	Fix error displaying on installation pages
This commit is contained in:
		
							parent
							
								
									6a1ac9ada4
								
							
						
					
					
						commit
						c4592d242a
					
				@ -92,7 +92,7 @@ class InstallController extends AbstractController
 | 
				
			|||||||
        if (!$installer->checkRequirements()) {
 | 
					        if (!$installer->checkRequirements()) {
 | 
				
			||||||
            return $this->renderError(
 | 
					            return $this->renderError(
 | 
				
			||||||
                'install_err',
 | 
					                'install_err',
 | 
				
			||||||
                array('error' => $installer->getErrors())
 | 
					                array('errors' => $installer->getErrors())
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -125,7 +125,7 @@ class InstallController extends AbstractController
 | 
				
			|||||||
        if (!$installer->checkConnection()) {
 | 
					        if (!$installer->checkConnection()) {
 | 
				
			||||||
            return $this->renderError(
 | 
					            return $this->renderError(
 | 
				
			||||||
                'install_err',
 | 
					                'install_err',
 | 
				
			||||||
                array('error' => $installer->getErrors())
 | 
					                array('errors' => $installer->getErrors())
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -158,7 +158,7 @@ class InstallController extends AbstractController
 | 
				
			|||||||
        if (!$installer->createTables()) {
 | 
					        if (!$installer->createTables()) {
 | 
				
			||||||
            return $this->renderError(
 | 
					            return $this->renderError(
 | 
				
			||||||
                'install_err',
 | 
					                'install_err',
 | 
				
			||||||
                array('error' => $installer->getErrors())
 | 
					                array('errors' => $installer->getErrors())
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user