Skip to content

Commit

Permalink
Ajax loading files properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurko committed Aug 8, 2011
1 parent 8ec8932 commit 3fe0c5f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions core/libs/ajax.php
Expand Up @@ -24,22 +24,22 @@
/**
* Carrega as configurações de conexão do banco de dados
*/
include(THIS_TO_BASEURL.CONFIG_DIR.'database.php');
include(CONFIG_DIR.'database.php');


/**
*
* Carrega classes automaticamente
*
*/
include_once(THIS_TO_BASEURL.CLASS_DIR.'_carrega_classes.inc.php');
include_once(CLASS_DIR.'_carrega_classes.inc.php');


/**
* Configurações do core do sistema
*/
include(THIS_TO_BASEURL.CONFIG_DIR.'core.php');
include(THIS_TO_BASEURL.CORE_CONFIG_DIR.'core.php');
include(CONFIG_DIR.'core.php');
include(CORE_CONFIG_DIR.'core.php');

header("Content-Type: text/html; charset=".$aust_charset['view']);

Expand All @@ -49,12 +49,12 @@
/**
* Métodos usados pelo sistema
*/
include(THIS_TO_BASEURL.LIB_DIR.'functions/func.php');
include(THIS_TO_BASEURL.LIB_DIR.'functions/func_content.php');
include(THIS_TO_BASEURL.LIB_DIR.'functions/func_text_format.php');
include(LIB_DIR.'functions/func.php');
include(LIB_DIR.'functions/func_content.php');
include(LIB_DIR.'functions/func_text_format.php');

// aust_func
include(THIS_TO_BASEURL.LIBS_DIR.'aust/aust_func.php');
include(LIBS_DIR.'aust/aust_func.php');

// Conexão
$conexao = Connection::getInstance();
Expand Down

0 comments on commit 3fe0c5f

Please sign in to comment.