mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 12:17:35 +03:00
support &spiderlinks=1 in addition to &spiderLinks=1
for add url in PageAddUrl.cpp.
This commit is contained in:
parent
12af05960e
commit
923d1becce
@ -198,7 +198,10 @@ bool sendPageAddUrl ( TcpSocket *s , HttpRequest *r ) {
|
||||
st1->m_strip = r->getLong("strip",0);
|
||||
// Remember, for cgi, if the box is not checked, then it is not
|
||||
// reported in the request, so set default return value to 0
|
||||
st1->m_spiderLinks = r->getLong("spiderLinks",0);
|
||||
long spiderLinks = r->getLong("spiderLinks",-1);
|
||||
// also support all lowercase like PageInject.cpp uses
|
||||
if ( spiderLinks == -1 )
|
||||
spiderLinks = r->getLong("spiderlinks",0);
|
||||
|
||||
// . should we force it into spiderdb even if already in there
|
||||
// . use to manually update spider times for a url
|
||||
|
Loading…
Reference in New Issue
Block a user