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:
parent
8dcda2ce55
commit
16d26c106b
@ -20,6 +20,7 @@ class acm
|
||||
|
||||
var $sql_rowset = array();
|
||||
var $sql_row_pointer = array();
|
||||
var $cache_dir = '';
|
||||
|
||||
/**
|
||||
* Set cache path
|
||||
|
@ -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] = '';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user