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

CodersClub

 Forgot password?
 Register
Search
View: 7042|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

2024-03-28 19:35 GMT+3 , Processed in 0.038829 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list