Ticket #6 (new defecto)
control de errores simple en ort_maintenancemode
| Reported by: | baby | Owned by: | hrosso |
|---|---|---|---|
| Priority: | bloqueante | Milestone: | FinCuatrimestre2007-2 |
| Component: | plugin genérico de textpattern | Version: | 0.3 |
| Keywords: | Cc: | hector.rosso@…, daniel.mammana@…, giorini@…, baby@… |
Description
Gente,
el plugin está utilizable.
Un mínimo control de errores que habría que arreglarle es en la función ort_show_maintenance_page(), al llamar a file_get_contents($path.'/'.$config_values['PAGE']), si da un error, (es decir, si la función devuelve FALSE, mandar una mínima página que arman in-line en el fuente (como había hecho yo en el primer ejemplo).
Change History
Note: See
TracTickets for help on using
tickets.
