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

CodersClub

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

What is the use of searchindex.php?

[Copy link]

 United States

Post time: 2020-04-21 09:24
| Show all posts |Read mode
Hey again,
Next question. What is searchindex.php and how do I use it?


I will skip the files which are similar to the official Chinese version. I am sure there will be instructions regading it on your site for sure.

Cheerios......
Evan

 Russia

Post time: 2020-04-21 10:54
| Show all posts
searchindex.php is the oldest utility of the original Discuz! X.
It is designed to automatically generate the language file admincp_searchindex.php.
The admincp_searchindex.php file is used to search for the desired operation in the admin panel.

How does it work:
The searchindex.php utility scans all PHP files related to the admin panel and looks for code blocks marked with special tags /*search*/ and remember all the language variables used in the block.
The scan result is recorded in the admincp_searchindex.php file.
Each block in the admincp_searchindex.php file contains the action URL in the admin panel and the contents of all language variables used in this admin action.

Interestingly, the Discuz development team seems to have forgotten about the search engine in the admin panel, and it has not updated the admincp_searchindex.php file for many years.

 United States

 Author| Post time: 2020-04-29 19:31
| Show all posts
Thanks for the info
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-04-16 12:33 GMT+3 , Processed in 0.066848 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