Browse Source

Merge pull request #1 from kvazar-network/master

merge master updates
pull/8/head
kvazar-network 3 years ago committed by GitHub
parent
commit
d22bc1a539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      public/index.php

6
public/index.php

@ -32,7 +32,11 @@ if (SEF_MODE && isset($_SERVER['QUERY_STRING'])) { @@ -32,7 +32,11 @@ if (SEF_MODE && isset($_SERVER['QUERY_STRING'])) {
}
}
$limit = PAGE_LIMIT * $page;
if ($page > 0) {
$limit = PAGE_LIMIT * $page - PAGE_LIMIT;
} else {
$limit = PAGE_LIMIT * $page;
}
$db = new MySQL();

Loading…
Cancel
Save