Example #1
0
			<td>Подключение к интернету установлено.</td>
		</tr>
	<?php 
    if (Sys::checkConfigExist()) {
        ?>
		<tr>
			<td>Конфигурационный файл существует.</td>
		<tr>
		<?php 
        if (Sys::checkConfig()) {
            ?>
			<tr>
				<td>Конфигурационный файл заполнен верно.</td>
			<tr>
			<?php 
            if (Sys::checkCurl()) {
                ?>
			<tr>
				<td>Расширение cURL установлено.</td>
			<tr>
				<?php 
                include_once $dir . "class/Database.class.php";
                $torrentPath = Database::getSetting('path');
                if (Sys::checkWriteToPath($torrentPath)) {
                    ?>
			<tr>
				<td>Запись в директорию для torrent-файлов <?php 
                    echo $torrentPath;
                    ?>
 разрешена.</td>
			<tr>