Corrección bug render markdown en portal.php

This commit is contained in:
humano 2014-10-30 09:13:19 -05:00
parent 21a9512459
commit a5feaf0de1

8
milfs/funciones/funciones.php Normal file → Executable file
View File

@ -830,7 +830,13 @@ $xajax->registerFunction("editar_campo");
function formulario_imprimir($id,$control,$tipo) { function formulario_imprimir($id,$control,$tipo) {
require_once ('includes/markdown.php'); include ('includes/markdown.php');
if (function_exists("Markdown")) {
}else{
require_once ('milfs/includes/markdown.php');
}
// include_once ('milfs/includes/markdown.php');
$id = mysql_seguridad($id); $id = mysql_seguridad($id);
$publico = remplacetas('form_id','id',$id,'publico') ; $publico = remplacetas('form_id','id',$id,'publico') ;
if($publico[0] != "1" and (!isset ( $_SESSION[id]) )) { if($publico[0] != "1" and (!isset ( $_SESSION[id]) )) {