Project

General

Profile

« Previous | Next » 

Revision 4c0d7036

Added by Scott Ullrich almost 16 years ago

Check globals variable

View differences:

usr/local/www/system_firmware.php
55 55
	if(!file_exists("/tmp/etc/platform")) 
56 56
		return false;
57 57
	$upgrade_is_for_platform = trim(file_get_contents("/tmp/etc/platform"));
58
	if($upgrade_is_for_platform == "nanobsd") {
58
	if($g['platform'] == "nanobsd") {
59 59
		if(strstr($filename, "nanobsd"))
60 60
			return true;
61 61
		else

Also available in: Unified diff