summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doku.php4
-rw-r--r--inc/html.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/doku.php b/doku.php
index 24eeb94d5..56197db81 100644
--- a/doku.php
+++ b/doku.php
@@ -6,6 +6,8 @@
* @author Andreas Gohr <andi@splitbrain.org>
*/
+ //xdebug_start_profiling();
+
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__)).'/');
require_once(DOKU_INC.'inc/init.php');
require_once(DOKU_INC.'inc/common.php');
@@ -63,4 +65,6 @@
//restore old umask
umask($conf['oldumask']);
+
+ //xdebug_dump_function_profile(3);
?>
diff --git a/inc/html.php b/inc/html.php
index cdc8a7257..798e2ce79 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -167,7 +167,7 @@ function html_topbtn(){
$ret = '';
$ret .= '<form class="button" method="get" action="#top" onsubmit="return svchk()">';
- $ret .= '<input type="submit" value="'.htmlspecialchars($lang['btn_top']).'" class="button" ';
+ $ret .= '<input type="submit" value="'.htmlspecialchars($lang['btn_top']).'" class="button" />';
$ret .= '</form>';
return $ret;
}