International > Español / Castellano

FAQ de 4images

<< < (4/4)

masterred:
Error al salir del admin.php

si en tu navegador te sale esta direccion


--- Quote ---Not Found
The requested URL /tu_galeria/admin/admin/index.php was not found on this server.
--- End quote ---


Abrir:  admin/admin_global.php la linea 92

buscar


--- Quote ---if (isset($HTTP_GET_VARS['logout'])) {
  $site_sess->logout($user_info['user_id']);
   setcookie("adminon", 0, 0, '/');
   redirect("admin/index.php");
}
--- End quote ---

Sustituir por


--- Quote ---if (isset($HTTP_GET_VARS['logout'])) {
  $site_sess->logout($user_info['user_id']);
   setcookie("adminon", 0, 0, '/');
   redirect("index.php");
}
--- End quote ---

cerrar y guardar cambios

hasta pronto

benzo:
Fallos de seguridad versiones obsoletas [ < 1.7.4 ]

http://www.4homepages.de/forum/index.php?topic=8335.0

joelito:

--- Quote from: benzo on May 08, 2005, 10:54:55 PM ---¿ Puedo quitar el mensaje que me aparece al pulsar el boton derecho?

Sí. Abra el archivo header.html y quite estas lineas:


--- Code: ---  function right(e) {
    if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (event.button == 2 || event.button == 3) {
      alert("© Copyright by {site_name}");
      return false;
    }
    return true;
  }

  if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown = right;
  }
  else if (document.all && !document.getElementById){
    document.onmousedown = right;
  }

document.oncontextmenu = new Function("alert('© Copyright by {site_name}');return false");
--- End code ---

Cuando hablas de abrir el archivo html te refieres al que está el directorio raíz ???

Y disculpa la pregunta hermano.

Saludos.
 

--- End quote ---

Navigation

[0] Message Index

[*] Previous page

Go to full version