mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Aggiunto replace rootdir sulle query dei moduli
This commit is contained in:
@@ -216,6 +216,8 @@ if (!empty($module_query) && $module_query != 'menu' && $module_query != 'custom
|
|||||||
$attributes[] = $key.'="'.$val.'"';
|
$attributes[] = $key.'="'.$val.'"';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Replace rootdir per le query
|
||||||
|
$value = str_replace( 'ROOTDIR', ROOTDIR, $value );
|
||||||
$result[] = str_replace('|attr|', implode(' ', $attributes), '<div |attr|>'.$value.'</div>');
|
$result[] = str_replace('|attr|', implode(' ', $attributes), '<div |attr|>'.$value.'</div>');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user