Commit 4e38f5b09ebe69353c3b3749d30e332613244dc5

Authored by Edmar Moretti
1 parent 248e1b6b
Exists in master

remoção de programas antigos

classesphp/classe_temas.php
... ... @@ -1151,22 +1151,24 @@ function: pegadata
1151 1151  
1152 1152 Retorna o valor do elemento DATA
1153 1153 */
1154   - function pegadata()
1155   - {
1156   - if(!$this->layer){return "erro";}
  1154 + function pegadata(){
  1155 + if(!$this->layer){
  1156 + return "erro";
  1157 + }
1157 1158 $metadata = $this->layer->getmetadata("editorsql");
1158   - if(strtolower($metadata) != "nao")
1159   - return $this->layer->data;
1160   - else
1161   - return "O layer não permite a alteracao do elemento DATA";
  1159 + if(strtolower($metadata) == "sim"){
  1160 + return $this->layer->data;
  1161 + }
  1162 + else{
  1163 + return "O layer não permite a alteracao do elemento DATA";
  1164 + }
1162 1165 }
1163 1166 /*
1164 1167 function: alteradata
1165 1168  
1166 1169 Altera o valor do elemento DATA
1167 1170 */
1168   - function alteradata($data,$removemeta="nao")
1169   - {
  1171 + function alteradata($data,$removemeta="nao") {
1170 1172 if(!$this->layer){return "erro";}
1171 1173 $data = str_ireplace("delete","",$data);
1172 1174 $data = str_ireplace("insert","",$data);
... ... @@ -1174,7 +1176,7 @@ Altera o valor do elemento DATA
1174 1176 $data = str_ireplace("create","",$data);
1175 1177 $data = str_ireplace("alter","",$data);
1176 1178 $metadata = $this->layer->getmetadata("editorsql");
1177   - if(strtolower($metadata) != "nao"){
  1179 + if(strtolower($metadata) == "sim"){
1178 1180 $this->layer->set("data",$data);
1179 1181 $this->layer->setMetaData("cache","");
1180 1182 if($removemeta == "sim"){
... ...
classesphp/parse_cgi.php
1 1 <?php
  2 +exit;
2 3 /*
3 4 Title: parse_cgi.php
4 5  
... ...
classesphp/proxy.php
1 1 <?php
  2 +exit;
2 3 /**
3 4 * Utilize proxy.php para acessar URLs por intermedio do servidor, via CURL
4 5 * Voce pode usar o parametro proxy?url=
... ...