setWidth(40); $sLicenseCode = $oTF->sValue(); $sHostName = WYApplication::sHTTPHost(); if ($sLicenseCode) { $oP = od_clone($goApp->oDataPath); $oP->addComponent("license"); $oF = new WYFile($oP); if ($oF->bExists()) $s = $oF->sContent() . "\r\n"; $oF->setContent($s . $sLicenseCode); if (!$oF->bWrite()) $goApp->log("could not write license file"); $bLicenseSaved = true; } ?>
|
||
Version: |