<commit_before><?php
/**
 * Main entry-script of a Jivoo application
 *
 * Copy to an empty directory and access from webbrowser to create a new
 * application. 
 *
 * @package Jivoo
 * @since 0.1.0
 */

// Points to Jivoo framework
require_once 'lib/Jivoo/Core/bootstrap.php';

$app = new App(
  'app',
  'user',
  basename(__FILE__)
);

// Optional. Application-independent extensions and themes delivered with Jivoo.
$app->paths->share = 'share';

// Run application. Environment can be 'development', 'production' or something
// else. 'development' should ONLY be used on private local development web
// servers.
$app->run('development');<commit_msg>Update example entry script.<commit_after><?php
// Main entry-script of a Jivoo application.
//
// Copy to an empty directory (as 'index.php') on a local web server and access
// it using a web browser to create a new application. 
//

// Path to $directory containing Jivoo framework distribution.
$root = '.';

// Path to Jivoo framework bootstrap script.
require_once $root . '/lib/Jivoo/Core/bootstrap.php';

$app = new \Jivoo\Core\App(
  'app', // Path to application directory containing the manifest (app.json).
  'user', // Path to configuration directory.
  basename(__FILE__)
);

// Optional. Application-independent extensions and themes delivered with Jivoo.
$app->paths->share = $root . '/share';

// Run application. Environment can be 'development', 'production' or something
// else (defined in app/config/environments). 'development' should ONLY be used
// on private local development web servers.
$app->run('development');
{'fraction_non_alphanumeric': 0.12523481527864747, 'fraction_numerical': 0.001878522229179712, 'mean_word_length': 3.857142857142857, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2049055', 'n_tokens_mistral': 460, 'n_tokens_neox': 448, 'n_words': 173}