PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   LIMIT_DAYS constant (http://www.phpdig.net/forum/showthread.php?t=513)

RPIEL 02-12-2004 08:12 AM

LIMIT_DAYS constant
 
Hi,

I would like to know if there is a way to bypass the LIMIT_DAYS constant.

I want to reindex my site several times a day (the best would be each time the content of a page is modified in the database).
putting 0 in the constant seems to be ignored.

Sincerely

Régis

Rolandks 02-12-2004 12:17 PM

Edit Line 1169 in admin/robot_functions.php

$delay = 86400*$limit_days;

86400 Seconds = 1 Day !

Try 60 and wait one day :D, reindex, now is reindex every minute possible ....

-roland-

RPIEL 02-12-2004 09:44 PM

Hi Roland,

Thanks a lot for your quick answer.
It is exactly what I want (not every minute but perhaps every hour)

Sincerely


All times are GMT -8. The time now is 06:39 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.