From ec0154b56e4157a74b7097447bfc3cc58a2c1726 Mon Sep 17 00:00:00 2001 From: pantsucat Date: Tue, 15 Sep 2015 13:10:28 +1000 Subject: Full git history now --- README.md | 2 +- js/pomf.js | 2 +- pages/banners.json | 1 - pages/faq.swig | 28 ++++++++++++---------------- pages/index.swig | 5 +++-- pages/layout.swig | 2 +- pages/nav.swig | 17 +++++++---------- static/includes/settings.inc.php | 4 ++-- 8 files changed, 27 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index de0aef5..28f38e4 100644 --- a/README.md +++ b/README.md @@ -43,4 +43,4 @@ Make sure to disable PHP from being executed on the file download domain/directo * API keys? # Contact -I can be contacted via neku@pomf.se or twitter at [@nekunekus](https://twitter.com/nekunekus). +I can be contacted via postmaster@pantsu.cat. diff --git a/js/pomf.js b/js/pomf.js index f5dd06b..519d158 100644 --- a/js/pomf.js +++ b/js/pomf.js @@ -36,7 +36,7 @@ $(function () { }) var MAX_SIZE = (function (node) { - var max = node.attr('data-max-size') || '10MiB' + var max = /*node.attr('data-max-size') ||*/ '120MiB' var num = parseInt(/([0-9,]+).*/.exec(max)[1].replace(',', '')) var unit = /(?:([KMGTPEZY])(i)?B|([BKMGTPEZY]))/.exec(max) || ["B","",""] diff --git a/pages/banners.json b/pages/banners.json index f7b3ca2..c3e6534 100644 --- a/pages/banners.json +++ b/pages/banners.json @@ -1,4 +1,3 @@ [ - "banners/donate.swig", "banners/virusscans.swig" ] diff --git a/pages/faq.swig b/pages/faq.swig index a3233e4..48b4b32 100644 --- a/pages/faq.swig +++ b/pages/faq.swig @@ -7,22 +7,18 @@ {% include "nav.swig" %} -

-Follow the rules and tips I have set up above, please. The FAQ may also be changed and updated at any time.
-Go to the Pomf Blog or Twitter for more information.
-

{% include "banners.swig" %} {% endblock %} diff --git a/pages/index.swig b/pages/index.swig index 9215859..88c9687 100644 --- a/pages/index.swig +++ b/pages/index.swig @@ -2,8 +2,9 @@ {% block body %}
-

Ohayou!

-

Max upload size is {{max_upload_size}}MiB, read the FAQ

+

Pantsu!

+

Ropa Interior~

+

Max upload size is 120MiB, read the FAQ

{% include "check_script.swig" %} {% include "check_fileapi.swig" %} {% include "upload_form.swig" %} diff --git a/pages/layout.swig b/pages/layout.swig index d72f934..876eda8 100644 --- a/pages/layout.swig +++ b/pages/layout.swig @@ -3,7 +3,7 @@ - Pomf.se · {% block title %}Kawaii File Hosting{% endblock %} + Pantsu.cat · {% block title %}Kawaii File Hosting{% endblock %} diff --git a/pages/nav.swig b/pages/nav.swig index 297eaef..91a5e32 100644 --- a/pages/nav.swig +++ b/pages/nav.swig @@ -1,14 +1,11 @@ diff --git a/static/includes/settings.inc.php b/static/includes/settings.inc.php index cb152e8..e909b9a 100644 --- a/static/includes/settings.inc.php +++ b/static/includes/settings.inc.php @@ -8,11 +8,11 @@ define('POMF_DB_USER', 'pomf'); define('POMF_DB_PASS', '***'); // Root location of files -define('POMF_FILES_ROOT', '/mnt/disk1/pomf/files/'); +define('POMF_FILES_ROOT', '/mnt/pantsu/http/files/'); // Maximum number of iterations while generating a new name define('POMF_FILES_RETRIES', 15); // URL to prepend to output (include trailing slash) -define('POMF_URL', 'http://a.pomf.se/'); +define('POMF_URL', 'https://i.pantsu.cat/'); $doubledots = array_map('strrev', array( 'tar.gz', -- cgit v1.2.3