Revision 151
Added by ryan about 19 years ago
trunk/wb/framework/frontend.functions.php | ||
---|---|---|
46 | 46 |
$extra_sql=&$wb->extra_sql; |
47 | 47 |
$extra_where_sql=&$wb->extra_where_sql; |
48 | 48 |
|
49 |
$query="SELECT directory FROM ".TABLE_PREFIX."modules WHERE type='snippet'";
|
|
49 |
$query="SELECT directory FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'snippet'";
|
|
50 | 50 |
$query_result=$database->query($query); |
51 | 51 |
if ($query_result->numRows()>0) { |
52 | 52 |
while ($row = $query_result->fetchRow()) { |
Also available in: Unified diff
Update for new addons table