Revision 18
Added by Manuela about 8 years ago
| branches/main/admin/interface/version.php | ||
|---|---|---|
| 48 | 48 |
|
| 49 | 49 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 50 | 50 |
if(!defined('VERSION')) { define('VERSION', '2.10.1-dev'); }
|
| 51 |
if(!defined('REVISION')) { define('REVISION', '17'); }
|
|
| 51 |
if(!defined('REVISION')) { define('REVISION', '18'); }
|
|
| 52 | 52 |
if(!defined('SP')) { define('SP', ''); }
|
| 53 | 53 |
|
| branches/main/modules/output_filter/filters/filterRelUrl.php | ||
|---|---|---|
| 33 | 33 |
/* Original SP7 Manu Fix */ |
| 34 | 34 |
// restore canonical relation links |
| 35 | 35 |
$sContent = preg_replace_callback( |
| 36 |
'/<link\s[^>]*?\"canonical\"[^>]*?>/isU',
|
|
| 36 |
'/<link\s[^>]*?\"(canonical|alternate)\"[^>]*?>/isU',
|
|
| 37 | 37 |
function($aMatches) use ($sDocRoot) {
|
| 38 | 38 |
return preg_replace( |
| 39 | 39 |
'/(href\s*=\s*\")([^\"]*?)/siU', |
Also available in: Unified diff
output_filter/filters/filterRelUrl now will take care for <link alternate href entries too