GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 374976...56f901 )
by Calima
04:14
created
mvc/controladores/indexControlador.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,12 +46,12 @@  discard block
 block discarded – undo
46 46
     public function __construct() {
47 47
         parent::__construct();
48 48
        
49
-        $this->_ayuda= new Sisayu\CFPHPAyuda;
49
+        $this->_ayuda = new Sisayu\CFPHPAyuda;
50 50
         //$this->cargaAyudante('CfPHPAyuda');
51 51
 		//$this->cargaAyudante('CfPHPSeguridad');
52
-        $this->_seg= new Sisayu\CFPHPSeguridad;
52
+        $this->_seg = new Sisayu\CFPHPSeguridad;
53 53
         
54
-        $this->_sesion=new Sisnuc\CFSesion();
54
+        $this->_sesion = new Sisnuc\CFSesion();
55 55
          
56 56
     }
57 57
     
@@ -59,13 +59,13 @@  discard block
 block discarded – undo
59 59
     { 
60 60
         // Se verifica que en el archivo de configuracion.php la constante Cf_CONFIG_INICIO==true
61 61
         //Si esta en True se lanza el instalador de Cf
62
-        if(Cf_CONFIG_INICIO==true){
62
+        if (Cf_CONFIG_INICIO == true) {
63 63
             
64 64
             $this->_vista->titulo = 'CalimaFramework';
65 65
             $this->_vista->imprimirVista('index', 'instalador');
66 66
             $this->_sesion->iniciarSesion('_s', false);
67 67
             
68
-        }elseif (Cf_CONFIG_INICIO=='false') {
68
+        }elseif (Cf_CONFIG_INICIO == 'false') {
69 69
             
70 70
             $this->_vista->titulo = 'CalimaFramework';
71 71
             $this->_vista->imprimirVista('index', 'instalador');
Please login to merge, or discard this patch.
mvc/controladores/dataControlador.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -46,12 +46,12 @@  discard block
 block discarded – undo
46 46
     public function __construct() {
47 47
         parent::__construct();
48 48
        
49
-        $this->_ayuda= new Sisayu\CFPHPAyuda;
49
+        $this->_ayuda = new Sisayu\CFPHPAyuda;
50 50
         //$this->cargaAyudante('CfPHPAyuda');
51 51
 		//$this->cargaAyudante('CfPHPSeguridad');
52
-        $this->_seg= new Sisayu\CFPHPSeguridad;
52
+        $this->_seg = new Sisayu\CFPHPSeguridad;
53 53
         
54
-        $this->_sesion=new Sisnuc\CFSesion();
54
+        $this->_sesion = new Sisnuc\CFSesion();
55 55
          
56 56
     }
57 57
     
@@ -59,16 +59,16 @@  discard block
 block discarded – undo
59 59
     { 
60 60
         // Se verifica que en el archivo de configuracion.php la constante Cf_CONFIG_INICIO==true
61 61
         //Si esta en True se lanza el instalador de Cf
62
-        if(Cf_CONFIG_INICIO==true){
62
+        if (Cf_CONFIG_INICIO == true) {
63 63
             $this->_sesion->iniciarSesion('_s', false);
64
-            if($_SESSION['nivel']==1){
64
+            if ($_SESSION['nivel'] == 1) {
65 65
             $this->_vista->titulo = 'CalimaFramework';
66 66
             $this->_vista->imprimirVista('index', 'data');
67
-            }else{
67
+            } else {
68 68
                 $this->_ayuda->redireccionUrl('usuario');
69 69
             }
70 70
             
71
-        }elseif (Cf_CONFIG_INICIO=='false') {
71
+        }elseif (Cf_CONFIG_INICIO == 'false') {
72 72
             
73 73
             $this->_vista->titulo = 'CalimaFramework';
74 74
             $this->_vista->imprimirVista('index', 'data');
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -42,44 +42,44 @@  discard block
 block discarded – undo
42 42
 /** Cf directorio separador */
43 43
 defined('DS') ? null : define('DS', DIRECTORY_SEPARATOR);
44 44
 /** Cf raiz del sitio */
45
-defined('SITE_ROOT')? null: define('SITE_ROOT', realpath(dirname(__FILE__)).DS);
45
+defined('SITE_ROOT') ? null : define('SITE_ROOT', realpath(dirname(__FILE__)).DS);
46 46
 /** Cf PATH del sitio */
47
-defined('SITE_PATH') ? NULL : define ('SITE_PATH', realpath(dirname(__FILE__) . DS . '..' . DS) . DS);
47
+defined('SITE_PATH') ? NULL : define('SITE_PATH', realpath(dirname(__FILE__).DS.'..'.DS).DS);
48 48
 
49 49
 /** Cf definimos constante Ruta directa al nucleo de framework  */
50
-define('RUTA_NUCLEO', SITE_ROOT . 'Sistema'.DS.'Nucleo' . DS);
50
+define('RUTA_NUCLEO', SITE_ROOT.'Sistema'.DS.'Nucleo'.DS);
51 51
 
52 52
 # define para mvc erp
53 53
 
54 54
 /** Cf definimos constante  directa a la vista del framework  */
55
-define('VIEW_PATH', SITE_ROOT . 'mvc'.DS.'vistas' . DS);
55
+define('VIEW_PATH', SITE_ROOT.'mvc'.DS.'vistas'.DS);
56 56
 /** Cf definimos constante  directa a los controladores del framework  */
57
-define('CONTR_PATH', SITE_ROOT . 'mvc'.DS.'controladores' . DS);
57
+define('CONTR_PATH', SITE_ROOT.'mvc'.DS.'controladores'.DS);
58 58
 /** Cf definimos constante  directa a los modelos del framework  */
59
-define('RUTA_MOD', SITE_ROOT . 'mvc'.DS.'modelos' . DS);
59
+define('RUTA_MOD', SITE_ROOT.'mvc'.DS.'modelos'.DS);
60 60
 
61 61
 # define ruta a los stilos del public
62 62
 
63 63
 /** Cf definimos constante  directa a los css dentro del directorio public_ del framework  */
64
-define('CSS_PATH', SITE_ROOT . 'public_'.DS.'css' . DS);
64
+define('CSS_PATH', SITE_ROOT.'public_'.DS.'css'.DS);
65 65
 /** Cf definimos constante  directa a los css dentro del directorio public_ del framework  */
66
-define('IMG_PATH', SITE_ROOT . 'public_'.DS.'img' . DS);
66
+define('IMG_PATH', SITE_ROOT.'public_'.DS.'img'.DS);
67 67
 /** Cf definimos constante  directa a los js dentro del directorio public_ del framework  */
68
-define('JS_PATH', SITE_ROOT . 'public_'.DS.'js' . DS);
68
+define('JS_PATH', SITE_ROOT.'public_'.DS.'js'.DS);
69 69
 /** Cf definimos constante  directa a las librerias dentro  del framework  */
70
-define('RUTA_LIBS', SITE_ROOT . 'Sistema'.DS.'librerias' . DS);
70
+define('RUTA_LIBS', SITE_ROOT.'Sistema'.DS.'librerias'.DS);
71 71
 /** Cf definimos constante  directa a los ayudantes del framework  */
72
-define('RUTA_AYUDANTES', SITE_ROOT . 'Sistema'.DS.'ayudantes' . DS);
72
+define('RUTA_AYUDANTES', SITE_ROOT.'Sistema'.DS.'ayudantes'.DS);
73 73
 
74 74
 /** Cf definimos constante  directa a los lenguajes del framework  */
75
-define('RUTA_LENGUAJES', SITE_ROOT . 'Sistema'.DS.'lenguajes' . DS);
75
+define('RUTA_LENGUAJES', SITE_ROOT.'Sistema'.DS.'lenguajes'.DS);
76 76
 
77 77
 
78 78
 //LENGUAJES
79 79
 //En el directorio sistema lenguajes hay varios archivos php cada uno para crear las constantes en el idioma especifico
80 80
 //luego por get capturamos la variable lan al inicio de la aplicacion asi: www.tuapp.com/?lang=de
81 81
 
82
-if(isSet($_GET['lang']))
82
+if (isSet($_GET['lang']))
83 83
 {
84 84
     $lang = $_GET['lang'];
85 85
  
@@ -88,11 +88,11 @@  discard block
 block discarded – undo
88 88
  
89 89
     setcookie('lang', $lang, time() + (3600 * 24 * 30));
90 90
 }
91
-else if(isSet($_SESSION['lang']))
91
+else if (isSet($_SESSION['lang']))
92 92
 {
93 93
     $lang = $_SESSION['lang'];
94 94
 }
95
-else if(isSet($_COOKIE['lang']))
95
+else if (isSet($_COOKIE['lang']))
96 96
 {
97 97
     $lang = $_COOKIE['lang'];
98 98
 }
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     $lang = 'es'; // por defecto el idioma para el app es español puede ser en, bt, de, zh
102 102
 }
103 103
  
104
-$lang_file = 'lang.'.(empty($lang)?'en':$lang).'.php'; 
104
+$lang_file = 'lang.'.(empty($lang) ? 'en' : $lang).'.php'; 
105 105
 // optimizacion de codigo al evaluar la llamda del archivo lang
106 106
 /* 
107 107
 switch ($lang) {
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
  
135 135
 }
136 136
 */
137
-include_once RUTA_LENGUAJES . $lang_file;
137
+include_once RUTA_LENGUAJES.$lang_file;
138 138
 
139 139
 //FIN LENGUAJES
140 140
 
@@ -149,9 +149,9 @@  discard block
 block discarded – undo
149 149
 
150 150
 # Cargamos la autocarga dinamica y configuraciones
151 151
 //require_once RUTA_NUCLEO . 'Cf_Autocarga.php';
152
-require_once RUTA_NUCLEO . 'CFConfiguracion.php';
152
+require_once RUTA_NUCLEO.'CFConfiguracion.php';
153 153
 
154
-try{
154
+try {
155 155
    
156 156
     Nucleo\CFBootstrap::actuar(new Nucleo\CFSolicitud);
157 157
     //CFBootstrap::actuar(new CFSolicitud);
Please login to merge, or discard this patch.