allow domain subdirectory compat
emulate php time unlimit using javascript for updating db