]> git.nbdom.net Git - nb.git/commitdiff
www/dbq/dbq.php
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 10 Jan 2018 02:55:23 +0000 (02:55 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 10 Jan 2018 02:55:23 +0000 (02:55 +0000)
lib/php/cache.php
www/dbq/dbq.php

index 0b29e34ce498d09b68bee8615bdc0c0bb2d0e0ae..392fc9b62aa6c48460dc5868dd598481a1d94ff0 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-require_once(dirname(__FILE__).'/functions.php');
+require_once(realpath(dirname(__FILE__).'/functions.php'));
 if (!defined('CACHE_DIR')) define('CACHE_DIR',"/tmp/cache.php");
 if (!file_exists(CACHE_DIR)) mkdir(CACHE_DIR,7770);
 
index c514cae718cc499dc1e6cbe37fc8ced43fda5203..87fc363a6cd1de1657a72ff697dc54e33b0ad613 100644 (file)
@@ -1197,7 +1197,6 @@ EOF;
                $action = $this->params['action'];
                if (!$action and self::PARAM_DB_DEFAULT) $action = self::PARAM_DB_DEFAULT;
 
-#bye([$this->params,$action]);
                if ($action == 'help') {
                        $this->page($this->table,[
                                [ 'help', 'Table help' ],