mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 20:16:22 +05:30
Update Copyright etc.
Updating the copyright and the contributor list.
This commit is contained in:
parent
63f6d5cef3
commit
a2ee15a05c
4 changed files with 16 additions and 8 deletions
|
|
@ -878,7 +878,7 @@ post('/add/post', function () {
|
|||
$proper = is_csrf_proper(from($_REQUEST, 'csrf_token'));
|
||||
|
||||
$title = from($_REQUEST, 'title');
|
||||
$fi = from($_REQUEST, 'fi');
|
||||
$img = from($_REQUEST, 'img');
|
||||
$vid = from($_REQUEST, 'vid');
|
||||
$tag = from($_REQUEST, 'tag');
|
||||
$url = from($_REQUEST, 'url');
|
||||
|
|
|
|||
|
|
@ -596,7 +596,8 @@ function get_count($var, $str)
|
|||
$tmp = array();
|
||||
|
||||
foreach ($posts as $index => $v) {
|
||||
$url = $v[$str];
|
||||
$arr = explode('_', $v[$str]);
|
||||
$url = $arr[0];
|
||||
if (strpos($url, "$var") !== false) {
|
||||
$tmp[] = $v;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue