<commit_before><?php namespace Laravel;

/**
 * Define a multitude of framework constants. Mainly, we define
 * various file paths to core locations of the framework, as well
 * as a couple of file extensions.
 */
define('EXT', '.php');
define('BLADE_EXT', '.blade.php');

define('APP_PATH',        realpath($application).'/');
define('BASE_PATH',       realpath(str_replace('laravel', '', $laravel)).'/');
define('PACKAGE_PATH',    realpath($packages).'/');
define('PUBLIC_PATH',     realpath($public).'/');
define('STORAGE_PATH',    realpath($storage).'/');
define('SYS_PATH',        realpath($laravel).'/');
define('CACHE_PATH',      STORAGE_PATH.'cache/');
define('CONFIG_PATH',     APP_PATH.'config/');
define('CONTROLLER_PATH', APP_PATH.'controllers/');
define('DATABASE_PATH',   STORAGE_PATH.'database/');
define('LANG_PATH',       APP_PATH.'language/');
define('LIBRARY_PATH',    APP_PATH.'libraries/');
define('MODEL_PATH',      APP_PATH.'models/');
define('ROUTE_PATH',      APP_PATH.'routes/');
define('SESSION_PATH',    STORAGE_PATH.'sessions/');
define('SYS_CONFIG_PATH', SYS_PATH.'config/');
define('SYS_LANG_PATH',   SYS_PATH.'language/');
define('SYS_VIEW_PATH',   SYS_PATH.'views/');
define('VIEW_PATH',       APP_PATH.'views/');

unset($laravel, $application, $config, $packages, $public, $storage);

/**<commit_msg>Fixed laravel path bug Affects installations where laravel is in a submodule named laravel.<commit_after><?php namespace Laravel;

/**
 * Define a multitude of framework constants. Mainly, we define
 * various file paths to core locations of the framework, as well
 * as a couple of file extensions.
 */
define('EXT', '.php');
define('BLADE_EXT', '.blade.php');

define('APP_PATH',        realpath($application).'/');
define('BASE_PATH',       realpath("$laravel/..").'/');
define('PACKAGE_PATH',    realpath($packages).'/');
define('PUBLIC_PATH',     realpath($public).'/');
define('STORAGE_PATH',    realpath($storage).'/');
define('SYS_PATH',        realpath($laravel).'/');
define('CACHE_PATH',      STORAGE_PATH.'cache/');
define('CONFIG_PATH',     APP_PATH.'config/');
define('CONTROLLER_PATH', APP_PATH.'controllers/');
define('DATABASE_PATH',   STORAGE_PATH.'database/');
define('LANG_PATH',       APP_PATH.'language/');
define('LIBRARY_PATH',    APP_PATH.'libraries/');
define('MODEL_PATH',      APP_PATH.'models/');
define('ROUTE_PATH',      APP_PATH.'routes/');
define('SESSION_PATH',    STORAGE_PATH.'sessions/');
define('SYS_CONFIG_PATH', SYS_PATH.'config/');
define('SYS_LANG_PATH',   SYS_PATH.'language/');
define('SYS_VIEW_PATH',   SYS_PATH.'views/');
define('VIEW_PATH',       APP_PATH.'views/');

unset($laravel, $application, $config, $packages, $public, $storage);

/**
{'fraction_non_alphanumeric': 0.19757620271759088, 'fraction_numerical': 0.0, 'mean_word_length': 5.219178082191781, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '1652124', 'n_tokens_mistral': 908, 'n_tokens_neox': 870, 'n_words': 168}