Changeset 15343 for extensions/AMetaData/amd_root.class.inc.php
- Timestamp:
- May 27, 2012, 1:31:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/amd_root.class.inc.php
r12222 r15343 86 86 'amd_FillDataBaseContinuously' => "y", 87 87 'amd_FillDataBaseIgnoreSchemas' => array(), 88 'amd_UseMetaFromHD' => "y",89 88 'amd_InterfaceMode' => "advanced", // 'advanced' or 'basic' 90 89 … … 182 181 public function doRandomAnalyze() 183 182 { 184 $sql="SELECT tai.imageId, ti.path , ti.has_highFROM ".$this->tables['images']." tai183 $sql="SELECT tai.imageId, ti.path FROM ".$this->tables['images']." tai 185 184 LEFT JOIN ".IMAGES_TABLE." ti ON tai.imageId = ti.id 186 185 WHERE tai.analyzed = 'n' … … 194 193 while($row=pwg_db_fetch_assoc($result)) 195 194 { 196 if($row['has_high']==='true' and $this->config['amd_UseMetaFromHD']=='y') 197 { 198 $this->analyzeImageFile($path."/".dirname($row['path'])."/pwg_high/".basename($row['path']), $row['imageId']); 199 } 200 else 201 { 202 $this->analyzeImageFile($path."/".$row['path'], $row['imageId']); 203 } 195 $this->analyzeImageFile($path."/".$row['path'], $row['imageId']); 204 196 } 205 197
Note: See TracChangeset
for help on using the changeset viewer.