mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
makes custom modules visible under the user
makes custom modules visible under the user
This commit is contained in:
parent
81ec1f139f
commit
dd869830ef
@ -157,7 +157,7 @@ $query2 = $sql->prepare("SELECT `text` FROM `translations` WHERE `type`='mo' AND
|
||||
$query->execute();
|
||||
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
|
||||
|
||||
if ($row['active'] == 'Y' and $row['type'] == 'U' and is_file(EASYWIDIR . '/stuff/' . $row['file'])) {
|
||||
if ($row['active'] == 'Y' and $row['type'] == 'U' and is_file(EASYWIDIR . '/stuff/custom_modules/' . $row['file'])) {
|
||||
$query2->execute(array($row['id'], $user_language));
|
||||
$name = $query2->fetchColumn();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user