Author Topic: [FIX] - includes/functions.php file  (Read 4477 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
[FIX] - includes/functions.php file
« on: October 31, 2007, 12:29:00 PM »
This is lower case output (file extension is same).

Find:

Quote
return isset($regs[1]) ? $regs[1] : $basename;

replace:

Code: [Select]
return isset($regs[1]) ? strtolower(trim($regs[1])) : strtolower(trim($basename));

After - find:

Quote
return strtolower($regs[2]);

replace:

Code: [Select]
return strtolower(trim($regs[2]));
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?