directory: don't query database during load
Don't use db_get_directory() and traverse the full path with every
directory being loaded. Just see if the current parent contains the
entry. Everything else would be invalid anyway..
Showing
Please
register
or
sign in
to comment