我不会php不过可以追溯到admin目录下global.php文件里的
function validate( )
{
global $site_engine_root;
global $starttime;
global $version_number;
$go = "";
require_once( $site_engine_root."lib/validate.php" );
if ( $go == 1 )
{
require_once( $site_engine_root."lib/install.php" );
if ( $go )
{
$install = new install( $starttime );
$_starttime = $install->decrypt( $starttime );
$time = time( );
if ( $time < $_starttime )
{
exit( );
}
if ( $time - $_starttime < 2592000 )
{
return round( 30 - ( $time - $_starttime ) / 86400, 0 );
}
else
{
return "-1";
}
}
}
else if ( $version_number == 10 )
{
return 1;
}
if ( !defined( "SITEENGINE_LICENSE_KEY" ) || SITEENGINE_LICENSE_KEY != md5( "*SiteEngine6.0sebokacn)EQWE*)WQEWEQBOKA.CNSITEENGINE.NET".substr( time( ), 0, -2 ) ) )
{
return "-2";
}
else
{
return 1;
}
}
相关函数2:
function checkversion( )
{
global $version;
if ( strpos( trim( $version ), "Free" ) !== false )
{
$version_value = 10;
}
else if ( strpos( trim( $version ), "Standard" ) !== false )
{
$version_value = 20;
}
else if ( strpos( trim( $version ), "Professional" ) !== false )
{
$version_value = 30;
}
else if ( strpos( trim( $version ), "Advanced" ) !== false )
{
$version_value = 40;
}
else if ( strpos( trim( $version ), "Portal" ) !== false )
{
$version_value = 50;
}
else if ( strpos( trim( $version ), "Group" ) !== false )
{
$version_value = 60;
}
else if ( strpos( trim( $version ), "Multi Domains" ) !== false )
{
$version_value = 70;
}
else
{
$version_value = 0;
}
return $version_value;
}
[ 本帖最后由 zeroone 于 2008-9-20 00:23 编辑 ] |