Please select To the mobile version | Continue to access the desktop computer version
| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 1893|Reply: 2
Collapse the left

Checksum bug fix for Geolite2 mmdb

[Copy link]

 United States

Post time: 2019-12-21 16:25
| Show all posts |Read mode
Hey Vot,

Found a fix for the mmdb file showing under "missing files" in the admin center.

The problem was DiscuzML was not checking the file availability. I added the below line to the source\admincp\admincp_checktools.php and it is no longer showing under missing files.
  1.                 checkfiles('data/ipdata/', '\.htm|\.dat', 0); - Added the below after line 62
  2.                 checkfiles('data/ipdata/', '\.htm|\.mmdb', 0);
Copy the Code
All set for mmdb now

Cheerios.......


 Russia

Post time: 2019-12-25 21:10
| Show all posts
Thank you!

#1061 (9246cef70b1d)
v3.4: Fix: check for mmdb files in admincp_checktools

 United States

 Author| Post time: 2020-04-02 15:13
| Show all posts
vot 2019-12-25 21:10
Thank you!

#1061 (9246cef70b1d)

Thanks mate!
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub  

Top.Mail.Ru
Top.Mail.Ru

2020-10-26 06:32 GMT+3 , Processed in 0.081517 sec., 9 queries .

Powered by Discuz! X3.4

Release 20170801, © 2001-2020 Comsenz Inc.

MultiLingual version, Rev. 710, © 2009-2020 codersclub.org

Quick Reply To Top Return to the list