<commit_before><?php
/**
 * DooSiteMagic class file.
 *
 * @author <NAME> <<EMAIL>>
 * @link http://www.doophp.com/
 * @copyright Copyright &copy; 2009 <NAME>
 * @license http://www.doophp.com/license
 */

/**
 * DooSiteMagic provides useful tools in development.
 *
 * <p>If you have your routes defined, call DooSiteMagic::buildSite() and
 * it will generate the Controller files for all the controllers defined along with the methods</p>
 * 
 * <p>DooSiteMagic also generates sitemap(routes.conf.php) and some features for development use.</p>
 *
 * @author <NAME> <<EMAIL>>
 * @version $Id: DooSiteMagic.php 1000 2009-08-06 17:10:12
 * @package doo.app
 * @since 1.1
 */
class DooSiteMagic{

	/**
	 * Display some info as a welcome page for DooPHP
	 */
	public static function displayHome(){
		echo '<div style="font-family:\'Courier New\', Courier, monospace;"><h1>It Works!</h1>';
		echo '<h3>What now?</h3><p><a href="./tools/sitemap.html">Generate Sitemap</a> | <a href="./index.php/gen_site">Generate Controllers</a> | <a href="./index.php/gen_models">Generate Models</a> | <a href="./tools/logviewer.html">View Logs</a> | <a href="./index.php/allurl">View All URLs</a></p>';
		echo '<br/><strong>Suggested workflow:</strong><ol><commit_msg>Fixed gen_model link for the default home page<commit_after><?php
/**
 * DooSiteMagic class file.
 *
 * @author <NAME> <<EMAIL>>
 * @link http://www.doophp.com/
 * @copyright Copyright &copy; 2009 <NAME>ong
 * @license http://www.doophp.com/license
 */

/**
 * DooSiteMagic provides useful tools in development.
 *
 * <p>If you have your routes defined, call DooSiteMagic::buildSite() and
 * it will generate the Controller files for all the controllers defined along with the methods</p>
 * 
 * <p>DooSiteMagic also generates sitemap(routes.conf.php) and some features for development use.</p>
 *
 * @author <NAME> <<EMAIL>>
 * @version $Id: DooSiteMagic.php 1000 2009-08-06 17:10:12
 * @package doo.app
 * @since 1.1
 */
class DooSiteMagic{

	/**
	 * Display some info as a welcome page for DooPHP
	 */
	public static function displayHome(){
		echo '<div style="font-family:\'Courier New\', Courier, monospace;"><h1>It Works!</h1>';
		echo '<h3>What now?</h3><p><a href="./tools/sitemap.html">Generate Sitemap</a> | <a href="./index.php/gen_site">Generate Controllers</a> | <a href="./index.php/gen_model">Generate Models</a> | <a href="./tools/logviewer.html">View Logs</a> | <a href="./index.php/allurl">View All URLs</a></p>';
		echo '<br/><strong>Suggested workflow:</strong><ol>
{'fraction_non_alphanumeric': 0.17514792899408285, 'fraction_numerical': 0.022090729783037475, 'mean_word_length': 4.3277310924369745, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7370332', 'n_tokens_mistral': 928, 'n_tokens_neox': 853, 'n_words': 230}