kopia lustrzana https://github.com/jprochazka/adsb-receiver
				
				
				
			Forgot to commit upgrade.php.
							rodzic
							
								
									990ced4c77
								
							
						
					
					
						commit
						c01bdc4c19
					
				| 
						 | 
				
			
			@ -33,7 +33,7 @@
 | 
			
		|||
    $common = new common();
 | 
			
		||||
 | 
			
		||||
    // The most current stable release.
 | 
			
		||||
    $thisVersion = "2.6.0";
 | 
			
		||||
    $thisVersion = "2.6.1";
 | 
			
		||||
 | 
			
		||||
    // Begin the upgrade process if this release is newer than what is installed.
 | 
			
		||||
    if ($common->getSetting("version") == $thisVersion) {
 | 
			
		||||
| 
						 | 
				
			
			@ -123,6 +123,15 @@
 | 
			
		|||
        $version = "2.6.0";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // UPGRADE TO V2.6.1
 | 
			
		||||
    if ($common->getSetting("version") == "2.6.0" && $success) {
 | 
			
		||||
        $json = file_get_contents("http://localhost/install/upgrade-v2.6.1.php");
 | 
			
		||||
        $results = json_decode($json, TRUE);
 | 
			
		||||
        $success = $results['success'];
 | 
			
		||||
        $message = $results['message'];
 | 
			
		||||
        $version = "2.6.1";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    require_once($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR."admin".DIRECTORY_SEPARATOR."includes".DIRECTORY_SEPARATOR."header.inc.php");
 | 
			
		||||
 | 
			
		||||
    // Display the instalation wizard.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue