Location: PHPKode > projects > KimsQ > q/index.php
<?php
if (is_dir('_sys/'))
{
	echo 'Already Installed !';
	exit;
}

$InstallTmpDir = './_tmp';
$insFile = './index.php';
$zipFile = './kimsq.zip';
$extPath = '.';
require $InstallTmpDir.'/install.func.php';

if ($_GET['install'] == 'Y')
{
	if (is_file($zipFile))
	{
		require $InstallTmpDir.'/ArchiveExtractor.class.php';

		$extractor = new ArchiveExtractor();
		$extractor -> extractArchive($zipFile,$extPath);

		DirChmod($extPath,0707);
		DirDelete($InstallTmpDir);
		@unlink($insFile);
		@unlink($zipFile);

		getLink('./_sys/_install/','','');
	}
	else {
		getLink('./','','');
	}
}
else {
	include_once $InstallTmpDir.'/welcome.php';
}
?> 
Return current item: KimsQ