Sfoglia il codice sorgente

Prioritize personal pictures.

I really should move this priority list to the DB. But not today.
Zachary Kotlarek 12 anni fa
parent
commit
fb90e70fd6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      scan.php

+ 1 - 0
scan.php

@@ -284,6 +284,7 @@ unset($set_hash);
 
 # Update priorities
 $priority = $dbh->prepare('UPDATE files SET priority = :priority WHERE path LIKE :path');
+$priority->execute(array(':priority' => 250,	':path' => 'Pictures/%'));
 $priority->execute(array(':priority' => 100,	':path' => 'Movies/%'));
 $priority->execute(array(':priority' => 50,	':path' => 'iTunes/%'));
 $priority->execute(array(':priority' => -50,	':path' => 'Backups/%'));