Revision dc61252a
Added by Renato Botelho almost 9 years ago
src/etc/inc/config.gui.inc | ||
---|---|---|
44 | 44 |
} |
45 | 45 |
require_once("crypt.inc"); |
46 | 46 |
|
47 |
/* read platform */ |
|
48 |
if (file_exists("{$g['etc_path']}/platform")) { |
|
49 |
$g['platform'] = chop(file_get_contents("{$g['etc_path']}/platform")); |
|
50 |
} else { |
|
51 |
$g['platform'] = "unknown"; |
|
52 |
} |
|
53 |
|
|
54 | 47 |
/* if /debugging exists, lets set $debugging |
55 | 48 |
so we can output more information */ |
56 | 49 |
if (file_exists("/debugging")) { |
Also available in: Unified diff
Deprecate nanobsd platform and remove all conditionals that uses it