robinbobin ([personal profile] robinbobin) wrote2010-03-03 12:30 am

flibusta - librusec

1. все таки лучше скрывать errorы
c flibusty

user warning: Table './library/liblog' is marked as crashed and should be repaired query: INSERT INTO liblog (BookId, UserId) VALUES(178560, 'xxx.xx.xx.xx') ON DUPLICATE KEY UPDATE BookId = BookId in /www/lib/pages/modules/librusec/book.inc on line 13.

2. а за book.inc надо отрывать всякое.

http://flibusta.net/modules/librusec/book.inc

2.a) drupal - govno. xexe.
include_once drupal_get_path('module', 'librusec').'/librusec.inc';
include_once drupal_get_path('module', 'librusec').'/list.inc';
include_once drupal_get_path('module', 'node').'/node.pages.inc';
include_once drupal_get_path('module', 'librusec').'/polka.inc';

2.b) но хотя бы .inc в htaccesse закрыть на отдачу.

поискать config.inc ? :)

2010 год на дворе....