mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-06 15:38:33 -05:00
16 lines
328 B
PHTML
Executable File
16 lines
328 B
PHTML
Executable File
<?php
|
|
|
|
if (Request::param ('is_read')) {
|
|
Request::_param ('is_read', 0);
|
|
} else {
|
|
Request::_param ('is_read', 1);
|
|
}
|
|
|
|
$url = Url::display (array (
|
|
'c' => Request::controllerName (),
|
|
'a' => Request::actionName (),
|
|
'params' => Request::params (),
|
|
));
|
|
|
|
echo json_encode (array ('url' => preg_replace ('#&#i', '&', $url)));
|