init core.php