aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 56d85f638..5efa9a24f 100644
--- a/boot.php
+++ b/boot.php
@@ -96,9 +96,14 @@ class App {
$this->path = ltrim(trim($p),'/');
}
+ function get_path() {
+ return $this->path;
+ }
+
function set_pager_total($n) {
$this->pager['total'] = intval($n);
}
+
function set_pager_itemspage($n) {
$this->pager['itemspage'] = intval($n);
$this->pager['start'] = ($this->pager['page'] * $this->pager['itemspage']) - $this->pager['itemspage'];