Skip to content

Commit

Permalink
Merge branch 'release/v3.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
enfoqueNativo committed Oct 29, 2018
2 parents 51a1197 + ce226d2 commit 8c546bc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

[CURRENT](https://github.com/SIU-Toba/framework/compare/master...develop)

[3.1.3](https://github.com/SIU-Toba/framework/releases/tag/v3.1.3) (2018-10-29)
- Bugfix en toba_analizador_logger, se invocaba mal una variable estatica

[3.1.2](https://github.com/SIU-Toba/framework/releases/tag/v3.1.2) (2018-10-25)
- Merge desde 3.0.31 con fix a toba_ini
- Se agrega metodo para acceder al objeto db que se pasa al modelo durante la instanciacion via toba_modelo_catalogo
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.2
3.1.3
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "siu-toba-framework",
"version": "3.1.2",
"version": "3.1.3",
"description": "Framework para desarrollo rápido de aplicaciones web",
"license": "SEE LICENSE IN licencia.txt",
"repository": "https://github.com/SIU-Toba/framework.git",
Expand Down
4 changes: 2 additions & 2 deletions php/modelo/lib/toba_analizador_logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function analizar_cuerpo($log)
{
$cuerpo = array();
$niveles = toba::logger()->get_niveles();
$texto = trim(substr($log, strpos($log, toba_logger::fin_encabezado) + strlen(toba_logger::fin_encabezado), strlen($log)));
$texto = trim(substr($log, strpos($log, toba_logger::$fin_encabezado) + strlen(toba_logger::$fin_encabezado), strlen($log)));
$patron = "/\[(";
$patron .= implode("|", $niveles);
$patron .= ")\]/";
Expand All @@ -41,7 +41,7 @@ function analizar_cuerpo($log)

function analizar_encabezado($log)
{
$encabezado = substr($log, 0, strpos($log, toba_logger::fin_encabezado));
$encabezado = substr($log, 0, strpos($log, toba_logger::$fin_encabezado));
$pares = explode("\r\n", trim($encabezado));
$basicos = array();
foreach ($pares as $texto) {
Expand Down

0 comments on commit 8c546bc

Please sign in to comment.