1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00
git-svn-id: file:///svn/phpbb/trunk@7211 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-03-20 03:40:18 +00:00
parent 8dcda2ce55
commit 16d26c106b
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ class acm
var $sql_rowset = array();
var $sql_row_pointer = array();
var $cache_dir = '';
/**
* Set cache path

View File

@ -1307,7 +1307,7 @@ function get_path($src_path, $src_url, $test_file)
$url_parts = explode('/', $m[2]);
if (substr($src_url, -1) != '/')
{
if (preg_match('/.*\.([a-z0-9]{3,4})$/i', $url_parts[count($url_parts) - 1]))
if (preg_match('/.*\.([a-z0-9]{3,4})$/i', $url_parts[sizeof($url_parts) - 1]))
{
$url_parts[sizeof($url_parts) - 1] = '';
}