Compare commits

..

No commits in common. "9a1e5a2379a801da23a9d0ed2bf6d72e7107970e" and "b294b1d62703a23f0adf4080c156c82670e5772a" have entirely different histories.

2 changed files with 4 additions and 5 deletions

View File

@ -1,14 +1,11 @@
<?php <?php
// Configuración de la base de datos
define('DB_TYPE', 'mysql'); define('DB_TYPE', 'mysql');
define('DB_HOST', 'localhost'); define('DB_HOST', 'localhost');
define('DB_NAME', ''); define('DB_NAME', '');
define('DB_USER', ''); define('DB_USER', '');
define('DB_PASS', ''); define('DB_PASS', '');
// Configuración del sitio //define('SITE_URL', '');
define('SITE_URL', '');
// Configuración avanzada
define('ROOT_DIR', __DIR__); define('ROOT_DIR', __DIR__);
define('ROOT_CORE', ROOT_DIR.'/src'); ?>

View File

@ -1,6 +1,8 @@
<?php <?php
require_once('config.php'); require_once('config.php');
define('ROOT_CORE', ROOT_DIR.'/src');
// Incluir clases // Incluir clases
spl_autoload_register(function ($className) { spl_autoload_register(function ($className) {
$fp = str_replace('\\','/',$className); $fp = str_replace('\\','/',$className);