Jump to content

[Fixed]I found a bug in admin.ionfiles.html.php

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Pepelepew

Pepelepew

    Newbie

  • Members
  • Pip
  • 1 posts
Hi,

I've translated the language file to Hungarian, but I run into a problem.
The translated terms didn't appear on the admin site, but in the frontend they do, and I didn't know why?
Now, I've found the root of the problem.
There is a small bug in administrator/component/com_ionfiles/admin.ionfiles.html.php.
In line 14 you can see:
if (file_exists($mos_absolute_path.'/components/com_ionfiles/language/'.$mosConfig_lang.'.php'))
You have to change it to:
if (file_exists($mosConfig_absolute_path.'/components/com_ionfiles/language/'.$mosConfig_lang.'.php'))

After that the language file will work on the admin site.
Maybe it's useful for all of you.

Many Regards. ;)

#2
TkTech

TkTech

    The Crazy One

  • Moderators
  • 1,396 posts
Thanks! Will look into it.