Changeset 2344 for trunk/admin
- Timestamp:
- May 16, 2008, 10:03:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/site_update.php
r2306 r2344 236 236 array_push($fs_fulldirs, $basedir); 237 237 } 238 238 // If $_POST['subcats-included'] != 1 ("Search in subcategories" is unchecked) 239 // $db_fulldirs doesn't include any subdirectories and $fs_fulldirs does 240 // So $fs_fulldirs will be limited to the selected basedir 241 // (if that one is in $fs_fulldirs) 242 if (!isset($_POST['subcats-included']) or $_POST['subcats-included'] != 1) 243 { 244 $fs_fulldirs = array_intersect($fs_fulldirs, array_keys($db_fulldirs)); 245 } 239 246 $inserts = array(); 240 247 // new categories are the directories not present yet in the database
Note: See TracChangeset
for help on using the changeset viewer.