Exemple #1
0
http://phpfilenavigator.litoweb.net/

Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
$relativo = '../../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
PFN_quita_url_SERVER('id_raiz');
session_write_close();
$PFN_tempo->rexistra('precarga');
include $PFN_paths['plantillas'] . 'cab.inc.php';
include $PFN_paths['xestion'] . 'Xopcions.inc.php';
$PFN_tempo->rexistra('precodigo');
$id_raiz = $PFN_vars->get('id_raiz');
include $PFN_paths['xestion'] . 'raices/index.inc.php';
include $PFN_paths['plantillas'] . 'Xraices.inc.php';
$PFN_tempo->rexistra('postcodigo');
include $PFN_paths['plantillas'] . 'pe.inc.php';
Exemple #2
0
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
$relativo = '../../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
PFN_quita_url_SERVER('id_conf');
session_write_close();
$ok = 0;
$erros = array();
$id_conf = $PFN_vars->get('id_conf');
$existe = $PFN_usuarios->init('configuracion', $id_conf);
$nome_arq = $PFN_niveles->path_correcto($PFN_paths['conf'] . $PFN_usuarios->get('conf') . '.inc.php');
if (!$existe) {
    $erros[] = 18;
} elseif ($PFN_usuarios->get('vale') != 1) {
    $erros[] = 25;
} elseif ($PFN_usuarios->init('configuracion_raices', $id_conf)) {
    $erros[] = 26;
} elseif ($PFN_usuarios->init('configuracion_grupos', $id_conf)) {
    $erros[] = 27;
}
Exemple #3
0
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
$relativo = '../../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
PFN_quita_url_SERVER(array('id_raiz', 'borrar_inc'));
session_write_close();
$erros = array();
$id_raiz = intval($PFN_vars->get('id_raiz'));
$borrar_inc = intval($PFN_vars->get('borrar_inc'));
if (empty($id_raiz) || $sPFN['raiz']['id'] == $id_grupo) {
    $erros[] = 5;
} else {
    $PFN_usuarios->init('raiz', $id_raiz);
    $path_raiz = $PFN_usuarios->get('path');
    $query = 'DELETE FROM ' . $PFN_usuarios->tabla('raices') . ' WHERE id = "' . $id_raiz . '";';
    if ($PFN_usuarios->actualizar($query) == -1) {
        $erros[] = 6;
    } else {
        $query = 'DELETE FROM ' . $PFN_usuarios->tabla('r_u') . ' WHERE id_raiz = "' . $id_raiz . '";';
        $PFN_usuarios->actualizar($query);
Exemple #4
0
Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
PFN_quita_url_SERVER('zlib');
include_once $PFN_paths['include'] . 'class_arquivos.php';
include_once $PFN_paths['include'] . 'class_inc.php';
$PFN_arquivos = new PFN_Arquivos($PFN_conf);
$PFN_inc = new PFN_INC($PFN_conf);
$PFN_inc->arquivos($PFN_arquivos);
$PFN_inc->carga_datos($arquivo);
$PFN_accions->arquivos($PFN_arquivos);
if ($PFN_vars->get('zlib') && $PFN_conf->g('zlib') == true && $PFN_conf->g('permisos', 'comprimir')) {
    @set_time_limit($PFN_conf->g('tempo_maximo'));
    @ini_set('memory_limit', $PFN_conf->g('memoria_maxima'));
    include_once $PFN_paths['include'] . 'class_easyzip.php';
    $EasyZIP->comeza($arquivo);
    $contido =& $EasyZIP->zipFile();
    $tamano = strlen($contido);
    $estado = $PFN_accions->log_ancho_banda($tamano);
Exemple #5
0
http://phpfilenavigator.litoweb.net/

Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
$relativo = '../../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
PFN_quita_url_SERVER('id_grupo');
session_write_close();
$PFN_tempo->rexistra('precarga');
include $PFN_paths['plantillas'] . 'cab.inc.php';
include $PFN_paths['xestion'] . 'Xopcions.inc.php';
$PFN_tempo->rexistra('precodigo');
$id_grupo = $PFN_vars->get('id_grupo');
include $PFN_paths['xestion'] . 'grupos/index.inc.php';
include $PFN_paths['plantillas'] . 'Xgrupos.inc.php';
$PFN_tempo->rexistra('postcodigo');
include $PFN_paths['plantillas'] . 'pe.inc.php';
Exemple #6
0
Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
$relativo = '../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
session_write_close();
PFN_quita_url_SERVER(array('id_raiz', 'id_usuario', 'id_grupo', 'id_conf', 'opc', 'erros', 'ok'));
$PFN_tempo->rexistra('precarga');
include $PFN_paths['plantillas'] . 'cab.inc.php';
include $PFN_paths['xestion'] . 'Xopcions.inc.php';
$PFN_tempo->rexistra('precodigo');
$doar = $PFN_conf->t('Xdoar');
$doar_paypal = $PFN_conf->t('Xdoar_paypal');
$doar_tarxeta = $PFN_conf->t('Xdoar_tarxeta');
include $PFN_paths['plantillas'] . 'Xdoazon.inc.php';
$PFN_tempo->rexistra('postcodigo');
include $PFN_paths['plantillas'] . 'pe.inc.php';
Exemple #7
0
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
$relativo = '../../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
PFN_quita_url_SERVER('id_usuario');
session_write_close();
$erros = array();
$id_usuario = intval($PFN_vars->get('id_usuario'));
if (empty($id_usuario) || $id_usuario == $sPFN['usuario']['id']) {
    $erros[] = 13;
} else {
    $query = 'DELETE FROM ' . $PFN_usuarios->tabla('usuarios') . ' WHERE id="' . $id_usuario . '";';
    if ($PFN_usuarios->actualizar($query) == -1) {
        $erros[] = 6;
    } else {
        $query = 'DELETE FROM ' . $PFN_usuarios->tabla('r_u') . ' WHERE id_usuario="' . $id_usuario . '";';
        $PFN_usuarios->actualizar($query);
        $info_usuario = $PFN_niveles->path_correcto($PFN_paths['info'] . 'usuario' . $id_usuario);
        if (is_dir($info_usuario)) {
            include_once $PFN_paths['include'] . 'class_accions.php';
Exemple #8
0
http://phpfilenavigator.litoweb.net/

Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
$relativo = '../../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
PFN_quita_url_SERVER(array('id_conf', 'ok', 'erros'));
session_write_close();
$PFN_tempo->rexistra('precarga');
include $PFN_paths['plantillas'] . 'cab.inc.php';
include $PFN_paths['xestion'] . 'Xopcions.inc.php';
$PFN_tempo->rexistra('precodigo');
$id_conf = $PFN_vars->get('id_conf');
include $PFN_paths['xestion'] . 'configuracions/index.inc.php';
include $PFN_paths['plantillas'] . 'Xconfiguracions.inc.php';
$PFN_tempo->rexistra('postcodigo');
include $PFN_paths['plantillas'] . 'pe.inc.php';
Exemple #9
0
Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
$relativo = '../../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
session_write_close();
PFN_quita_url_SERVER('idioma');
$idioma = $PFN_vars->get('idioma');
if ($PFN_conf->g('zlib') == true && preg_match('/^[a-z]+$/', $idioma) && is_dir($PFN_paths['idiomas'] . $idioma)) {
    @set_time_limit($PFN_conf->g('tempo_maximo'));
    @ini_set('memory_limit', $PFN_conf->g('memoria_maxima'));
    $PFN_conf->p(array('^\\.'), 'oculto');
    include_once $PFN_paths['include'] . 'class_easyzip.php';
    $EasyZIP->comeza($PFN_paths['idiomas'] . $idioma);
    $contido =& $EasyZIP->zipFile();
    $tamano = strlen($contido);
    header('Pragma: private');
    header('Expires: 0');
    header('Cache-control: private, must-revalidate');
    header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
    header('Content-Type: application/force-download; charset=' . $PFN_conf->g('charset'));
    header('Content-Transfer-Encoding: binary');
Exemple #10
0
Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') or die;
PFN_quita_url_SERVER(array('id', 'accion', 'cal', 'lista', 'completo', 'executa', 'posX', 'posY', 'modo', 'ancho', 'alto', 'sobreescribir'));
$PFN_conf->carga();
$PFN_niveles = new PFN_Niveles($PFN_conf);
$dir = $PFN_niveles->path_correcto($PFN_vars->get('dir'));
$PFN_vars->get('dir', $dir);
$ver_imaxes = $PFN_vars->get('ver_imaxes');
$estado_accion = '';
$info_raiz = $PFN_niveles->path_correcto($PFN_paths['info'] . 'raiz' . $PFN_conf->g('raiz', 'id'));
$info_usuario = $PFN_niveles->path_correcto($PFN_paths['info'] . 'usuario' . $sPFN['usuario']['id']);
$PFN_conf->p($info_usuario, 'info_usuario');
$PFN_conf->p($info_raiz, 'info_raiz');
if (defined('MENU')) {
    $PFN_conf->p(0, 'raiz', 'peso_maximo');
    $PFN_conf->p(0, 'raiz', 'peso_actual');
}
if (is_file($info_usuario . '/descargas.' . date('Ym') . '.php')) {
Exemple #11
0
Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
PFN_quita_url_SERVER(array('accion', 'calcula_tamano'));
$PFN_arquivos->niveles($PFN_niveles);
$erro = false;
$datos_inc = array();
$protexido = false;
$capas = $PFN_conf->g('info', 'capas');
$zlib = $PFN_conf->g('zlib');
if ($tipo == 'dir') {
    $icono = $PFN_imaxes->icono('dir');
} elseif (is_file($arquivo)) {
    $icono = $PFN_imaxes->sello($dir . '/' . $cal, false, false);
}
if (in_array('descricion', $capas)) {
    $datos = stat($arquivo);
}
if ($PFN_conf->g('inc', 'estado')) {
Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
PFN_quita_url_SERVER('nome_comprimido');
$nome_comprimido = $PFN_vars->get('nome_comprimido');
$multiple_escollidos = (array) $PFN_vars->post('multiple_escollidos');
$erro = false;
if ($PFN_conf->g('columnas', 'multiple') && $PFN_conf->g('zlib') == true && count($multiple_escollidos) > 0 && !empty($nome_comprimido) && !empty($dir)) {
    @set_time_limit($PFN_conf->g('tempo_maximo'));
    @ini_set('memory_limit', $PFN_conf->g('memoria_maxima'));
    include_once $PFN_paths['include'] . 'class_easyzip.php';
    $EasyZIP->pon_dirbase($PFN_conf->g('raiz', 'path') . $PFN_accions->path_correcto($dir . '/') . '/' . $multiple_escollidos[0]);
    foreach ($multiple_escollidos as $v) {
        $erro = false;
        $cal = $PFN_accions->nome_correcto($v);
        $arquivo = $PFN_conf->g('raiz', 'path') . $PFN_accions->path_correcto($dir . '/') . '/' . $cal;
        if (!file_exists($arquivo)) {
            $erro = true;
        }
Exemple #13
0
http://phpfilenavigator.litoweb.net/

Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
$relativo = '../../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
session_write_close();
PFN_quita_url_SERVER(array('ud_ordenar', 'ud_modo', 'executa', 'ab_ordenar', 'ab_modo', 'ab_mes', 'ab_ano'));
$PFN_tempo->rexistra('precarga');
include $PFN_paths['plantillas'] . 'cab.inc.php';
include $PFN_paths['xestion'] . 'Xopcions.inc.php';
$PFN_tempo->rexistra('precodigo');
include $PFN_paths['xestion'] . 'informes/index.inc.php';
include $PFN_paths['plantillas'] . 'Xinformes.inc.php';
$PFN_tempo->rexistra('postcodigo');
include $PFN_paths['plantillas'] . 'pe.inc.php';
Este programa es software libre. Puede redistribuirlo y/o modificarlo bajo los
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
PFN_quita_url_SERVER(array('orde_comprimido', 'pos_comprimido'));
$erro = 0;
$PFN_tempo->rexistra('preplantillas');
include $PFN_paths['plantillas'] . 'cab.inc.php';
include $PFN_paths['web'] . 'opcions.inc.php';
$PFN_tempo->rexistra('precodigo');
if ($PFN_arquivos->vale_extraer($arquivo, true)) {
    $ext = explode('.', $cal);
    $ext = strtolower(end($ext));
    switch ($ext) {
        case 'tar':
            include_once $PFN_paths['include'] . 'class_extraer.php';
            $ver = new PFN_tar_file($arquivo);
            break;
        case 'gz':
        case 'tgz':
Exemple #15
0
términos de la Licencia Pública General de GNU según es publicada por la Free
Software Foundation, bien de la versión 2 de dicha Licencia o bien (según su
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
defined('OK') && defined('ACCION') or die;
$cantos = $PFN_vars->get('cantos') ? intval($PFN_vars->get('cantos')) : 1;
PFN_quita_url_SERVER('cantos');
$PFN_tempo->rexistra('precodigo');
include_once $PFN_paths['include'] . 'class_inc.php';
$PFN_inc = new PFN_INC($PFN_conf);
if ($PFN_vars->post('executa')) {
    @set_time_limit($PFN_conf->g('tempo_maximo'));
    @ini_set('memory_limit', $PFN_conf->g('memoria_maxima'));
    $PFN_imaxes->arquivos($PFN_arquivos);
    $PFN_accions->arquivos($PFN_arquivos);
    if ($PFN_conf->g('inc', 'estado')) {
        $PFN_inc->arquivos($PFN_arquivos);
    }
    if ($PFN_conf->g('inc', 'indexar')) {
        include_once $PFN_paths['include'] . 'class_indexador.php';
        $PFN_indexador = new PFN_Indexador($PFN_conf);
    }
Exemple #16
0
elección) de cualquier versión posterior. 

Este programa se distribuye con la esperanza de que sea útil, pero SIN NINGUNA
GARANTÍA, incluso sin la garantía MERCANTIL implícita o sin garantizar la
CONVENIENCIA PARA UN PROPÓSITO PARTICULAR. Véase la Licencia Pública General de
GNU para más detalles. 

Debería haber recibido una copia de la Licencia Pública General junto con este
programa. Si no ha sido así, escriba a la Free Software Foundation, Inc., en
675 Mass Ave, Cambridge, MA 02139, EEUU. 
*******************************************************************************/
$relativo = '../../';
include $relativo . 'paths.php';
include_once $PFN_paths['include'] . 'basicweb.php';
include_once $PFN_paths['include'] . 'Xusuarios.php';
PFN_quita_url_SERVER(array('id_conf', 'novo'));
session_write_close();
$erros = array();
$ok = 0;
$id_conf = $PFN_vars->get('id_conf');
$existe = $PFN_usuarios->init('configuracion', $id_conf);
$PFN_conf_orix = $PFN_usuarios->get('conf');
$vale = $PFN_usuarios->get('vale');
$nome_orix = $PFN_niveles->path_correcto($PFN_paths['conf'] . $PFN_conf_orix . '.inc.php');
$PFN_conf->p(false, 'logs', 'accions');
$PFN_conf->p(true, 'nome_riguroso');
$PFN_conf_copia = str_replace('.inc.php', '', $PFN_niveles->nome_correcto($PFN_vars->get('novo')));
$PFN_conf_copia = trim(str_replace('.php', '', $PFN_conf_copia));
$nome_copia = $PFN_niveles->path_correcto($PFN_paths['conf'] . $PFN_conf_copia . '.inc.php');
if (!$existe || !is_file($nome_orix)) {
    $erros[] = 18;