In the installation process (starting from the code of the version ex-2.3 may be), it would be practical to have the possibility at one time to recover the parameters (path physical, virtual, name of the bdd, prefix of the tables, codes, etc…) in a .txt file to be downloaded, or with a script to copy to stick its information
Logged In: YES
user_id=1199770
Originator: NO
i have a script that retrieves the info you are talking about. but it only has the info that is important to me.
it should be placed in the same directory as mainfile.php. code:
, {|x_G|} ©*/ include "mainfile.php";echo "";
row_col('XOOPS_ROOT_PATH',XOOPS_ROOT_PATH);
row_col('XOOPS_URL',XOOPS_URL);
row_col('XOOPS_DB_HOST',XOOPS_DB_HOST);
row_col('XOOPS_DB_TYPE',XOOPS_DB_TYPE);
row_col('XOOPS_DB_USER',XOOPS_DB_USER);
row_col('XOOPS_DB_PASS',XOOPS_DB_PASS);
row_col('XOOPS_DB_PREFIX',XOOPS_DB_PREFIX);
row_col('XOOPS_DB_PCONNECT (Persistant Connection)',XOOPS_DB_PCONNECT);
row_col('XOOPS_UPLOAD_PATH (uploads)',XOOPS_UPLOAD_PATH);
row_col('XOOPS_CACHE_PATH (cache)',XOOPS_CACHE_PATH);
row_col('XOOPS_COMPILE_PATH (templates_c)',XOOPS_COMPILE_PATH);
echo "
function row_col($col1,$col2Val){
echo "".$col1.": ".$col2Val." ";
}
?>