Files
IPB/upload/admin/setup/applications/install/sections/license.php
T
2025-12-19 00:32:22 -08:00

54 lines
1.1 KiB
PHP

<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Installer: License Key
* Last Updated: $LastChangedDate: 2010-06-16 11:21:04 -0400 (Wed, 16 Jun 2010) $
* </pre>
*
* @author $Author: mark $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 6541 $
*
*/
class install_license extends ipsCommand
{
/**
* Execute selected method
*
* @access public
* @param object Registry object
* @return void
*/
public function doExecute( ipsRegistry $registry )
{
$lcheck = $this->check();
if ( $lcheck === TRUE )
{
$this->registry->autoLoadNextAction( 'db' );
return;
}
$this->registry->output->setTitle( "Ключ лицензии" );
$this->registry->output->setNextAction( "license&do=check" );
$this->registry->output->sendOutput();
}
/**
* Check License Key
*
* @access public
* @return bool
*/
private function check()
{
return true;
}
}