aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/config.default.php3
-rw-r--r--data/templates/base.htm2
-rw-r--r--data/templates/new.htm (renamed from data/templates/index.htm)2
3 files changed, 4 insertions, 3 deletions
diff --git a/data/config.default.php b/data/config.default.php
index 8fb27a9..c40c690 100644
--- a/data/config.default.php
+++ b/data/config.default.php
@@ -9,7 +9,8 @@ $GLOBALS['phorkie']['cfg'] = array(
'topbar' => '',
'setupcheck' => true,
'elasticsearch' => null,
- 'geshi' => 'MediaWiki/geshi/geshi/geshi.php'
+ 'geshi' => 'MediaWiki/geshi/geshi/geshi.php',
+ 'index' => 'new'
);
$GLOBALS['phorkie']['tools'] = array(
'\\phorkie\\Tool_Xmllint' => true,
diff --git a/data/templates/base.htm b/data/templates/base.htm
index 0479cf6..b9c9608 100644
--- a/data/templates/base.htm
+++ b/data/templates/base.htm
@@ -20,7 +20,7 @@
</a>
<ul class="nav">
<li>
- <a href="/">New paste</a>
+ <a href="/new">New paste</a>
</li>
<li>
<a href="/list">List all</a>
diff --git a/data/templates/index.htm b/data/templates/new.htm
index 5752c1e..5b75bba 100644
--- a/data/templates/index.htm
+++ b/data/templates/new.htm
@@ -2,7 +2,7 @@
{% block title %}New paste{% endblock %}
{% block content %}
-<form method="post" action="/" enctype="multipart/form-data">
+<form method="post" action="/new" enctype="multipart/form-data">
<div class="control-group well pastedata">
<label for="description">Description</label>
<input type="text" name="description" id="description" value="{{description}}"/>