Subversion Repositories ALCASAR

Rev

Rev 3037 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3037 Rev 3100
Line 125... Line 125...
125
                $this->sys->setDistribution('pfSense '. $version);
125
                $this->sys->setDistribution('pfSense '. $version);
126
                $this->sys->setDistributionIcon('pfSense.png');
126
                $this->sys->setDistributionIcon('pfSense.png');
127
            } elseif (preg_match('/^FreeNAS/i', $version)) { // FreeNAS detection
127
            } elseif (preg_match('/^FreeNAS/i', $version)) { // FreeNAS detection
128
                $this->sys->setDistribution($version);
128
                $this->sys->setDistribution($version);
129
                $this->sys->setDistributionIcon('FreeNAS.png');
129
                $this->sys->setDistributionIcon('FreeNAS.png');
-
 
130
            } elseif (preg_match('/^TrueNAS/i', $version)) { // TrueNAS detection
-
 
131
                $this->sys->setDistribution($version);
-
 
132
                $this->sys->setDistributionIcon('TrueNAS.png');
130
            } else {
133
            } else {
131
                $this->sys->setDistributionIcon('FreeBSD.png');
134
                $this->sys->setDistributionIcon('FreeBSD.png');
132
            }
135
            }
133
        } else {
136
        } else {
134
            $this->sys->setDistributionIcon('FreeBSD.png');
137
            $this->sys->setDistributionIcon('FreeBSD.png');