(can somebody explain me what is the use of the function:
function pninclude_once($file)
{
include_once($file);
}
It's nice that you want to have an API function list for your application, but try to restrict those functions only to ones that are really needed. Because someone writing modules would rather use PHP native functions (which you are more likely to be known than your API functions).
Also trying to incorporate adodb it isn't neccesary here (look at the DB classes from phpbb, much more modular and well written).
And finally, what's the use of base64_encode to database user and database password? I saw that you have pnencoding=1 before installation (maybe you try to make the user install the postnuke through install script and not manually) and 0 after. Or maybe you are afraid of the security of the data in the time the script is installed :?:
