uid) die('Forbidden'); $GUI =& core_object('GUI'); $pl =& core_object('PhotoLoader'); $GUI->main_header(''); echo '
'; echo '

Your image directory is now scanned for updates and additions. This can take a while, so please be patient.

'; $pl->run($Login->uid); $pl->check($Login->uid); echo '

The scan was completed. Of all '.$pl->all.' photos, '.$pl->upd.' needed to be updated in the database. '.$pl->skp.' photos were skipped for wrong file permissions. '.$pl->del.' photos were not found anymore and were removed from the database.

'; echo '
'; $GUI->main_footer();