@@ -35,7 +35,7 @@ |
||
| 35 | 35 | * @author Tomasz Wolniewicz <[email protected]> |
| 36 | 36 | * @package ModuleWriting |
| 37 | 37 | */ |
| 38 | - class DeviceW8W10 extends WindowsCommon { |
|
| 38 | + class DeviceW8W10 extends WindowsCommon { |
|
| 39 | 39 | final public function __construct() { |
| 40 | 40 | parent::__construct(); |
| 41 | 41 | \core\common\Entity::intoThePotatoes(); |
@@ -22,15 +22,15 @@ |
||
| 22 | 22 | namespace devices\redirect_dev; |
| 23 | 23 | |
| 24 | 24 | class DeviceRedirectDev extends \core\DeviceConfig { |
| 25 | - /** |
|
| 26 | - * Constructs a Device object. |
|
| 27 | - * |
|
| 28 | - * @final not to be redefined |
|
| 29 | - */ |
|
| 25 | + /** |
|
| 26 | + * Constructs a Device object. |
|
| 27 | + * |
|
| 28 | + * @final not to be redefined |
|
| 29 | + */ |
|
| 30 | 30 | final public function __construct() { |
| 31 | 31 | parent::__construct(); |
| 32 | - $this->setSupportedEapMethods([\core\common\EAP::EAPTYPE_NONE]); |
|
| 33 | - $this->loggerInstance->debug(4,"RedirectEx called"); |
|
| 32 | + $this->setSupportedEapMethods([\core\common\EAP::EAPTYPE_NONE]); |
|
| 33 | + $this->loggerInstance->debug(4,"RedirectEx called"); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
@@ -58,8 +58,8 @@ discard block |
||
| 58 | 58 | parent::__construct(); |
| 59 | 59 | $Dev = \devices\Devices::listDevices(); |
| 60 | 60 | if (isset($Dev[$blueprint])) { |
| 61 | - $this->loggerInstance->debug(4, "loaded: devices/" . $Dev[$blueprint]['directory'] . "/" . $Dev[$blueprint]['module'] . ".php\n"); |
|
| 62 | - $class_name = "\devices\\".$Dev[$blueprint]['directory']."\Device" . $Dev[$blueprint]['module']; |
|
| 61 | + $this->loggerInstance->debug(4, "loaded: devices/".$Dev[$blueprint]['directory']."/".$Dev[$blueprint]['module'].".php\n"); |
|
| 62 | + $class_name = "\devices\\".$Dev[$blueprint]['directory']."\Device".$Dev[$blueprint]['module']; |
|
| 63 | 63 | $this->device = new $class_name(); |
| 64 | 64 | if (!$this->device) { |
| 65 | 65 | $this->loggerInstance->debug(2, "module loading failed"); |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | } else { |
| 69 | 69 | print("unknown devicename:$blueprint\n"); |
| 70 | 70 | } |
| 71 | - $this->device->module_path = ROOT . '/devices/' . $Dev[$blueprint]['directory']; |
|
| 71 | + $this->device->module_path = ROOT.'/devices/'.$Dev[$blueprint]['directory']; |
|
| 72 | 72 | $this->device->signer = isset($Dev[$blueprint]['signer']) ? $Dev[$blueprint]['signer'] : 0; |
| 73 | 73 | $this->device->device_id = $blueprint; |
| 74 | 74 | $options = \devices\Devices::$Options; |