99chan-dev / morbid_obesity

A simple image board software based on kusaba.
1 stars 3 forks source link

use modrewrite or something to handle board requests instead of actual directories #20

Open twobutts opened 10 years ago

twobutts commented 10 years ago

will help a lot with issue #1

kod99 commented 10 years ago

I will be researching this and looking into our options here, and the feasibility

twobutts commented 10 years ago

i think it could be as simple as changing these functions to modify .htaccess mod_rewrite rules for the relevant board

https://github.com/99chan-dev/morbid_obesity/blob/master/inc/classes/manage.class.php#L1559 https://github.com/99chan-dev/morbid_obesity/blob/master/inc/classes/manage.class.php#L1603 https://github.com/99chan-dev/morbid_obesity/blob/master/inc/func/directories.php#L42

and then eliminate references to KU_BOARDSDIR from generated links