コード例 #1
0
			errors indicated by the following messages:</p>

			<?php 
        foreach ($errors as $error) {
            echo format_error($error);
        }
        ?>

			<p>You might want to check tt-rss <a href="http://tt-rss.org/wiki">wiki</a> or the
				<a href="http://tt-rss.org/forum">forums</a> for more information. Please search the forums before creating new topic
				for your question.</p>
		</body>
		</html>

		<?php 
        die;
    } else {
        if (count($errors) > 0) {
            echo "Tiny Tiny RSS was unable to start properly. This usually means a misconfiguration or an incomplete upgrade.\n";
            echo "Please fix errors indicated by the following messages:\n\n";
            foreach ($errors as $error) {
                echo " * {$error}\n";
            }
            echo "\nYou might want to check tt-rss wiki or the forums for more information.\n";
            echo "Please search the forums before creating new topic for your question.\n";
            exit(-1);
        }
    }
}
initial_sanity_check($link);
コード例 #2
0
			<?php 
        foreach ($errors as $error) {
            echo format_error($error);
        }
        ?>

			<p>You might want to check tt-rss <a href="http://tt-rss.org/wiki">wiki</a> or the
				<a href="http://tt-rss.org/forum">forums</a> for more information. Please search the forums before creating new topic
				for your question.</p>

		</div>
		</body>
		</html>

		<?php 
        die;
    } else {
        if (count($errors) > 0) {
            echo "Tiny Tiny RSS was unable to start properly. This usually means a misconfiguration or an incomplete upgrade.\n";
            echo "Please fix errors indicated by the following messages:\n\n";
            foreach ($errors as $error) {
                echo " * {$error}\n";
            }
            echo "\nYou might want to check tt-rss wiki or the forums for more information.\n";
            echo "Please search the forums before creating new topic for your question.\n";
            exit(-1);
        }
    }
}
initial_sanity_check();