diff --git a/public/auth/index.php b/pages/auth/index.php similarity index 100% rename from public/auth/index.php rename to pages/auth/index.php diff --git a/public/auth/login.php b/pages/auth/login.php similarity index 100% rename from public/auth/login.php rename to pages/auth/login.php diff --git a/public/auth/logout.php b/pages/auth/logout.php similarity index 100% rename from public/auth/logout.php rename to pages/auth/logout.php diff --git a/public/auth/password.php b/pages/auth/password.php similarity index 100% rename from public/auth/password.php rename to pages/auth/password.php diff --git a/public/auth/register.php b/pages/auth/register.php similarity index 100% rename from public/auth/register.php rename to pages/auth/register.php diff --git a/public/auth/unregister.php b/pages/auth/unregister.php similarity index 100% rename from public/auth/unregister.php rename to pages/auth/unregister.php diff --git a/public/ht/add-http-dns.php b/pages/ht/add-http-dns.php similarity index 100% rename from public/ht/add-http-dns.php rename to pages/ht/add-http-dns.php diff --git a/public/ht/add-http-onion.php b/pages/ht/add-http-onion.php similarity index 100% rename from public/ht/add-http-onion.php rename to pages/ht/add-http-onion.php diff --git a/public/ht/del-http-dns.php b/pages/ht/del-http-dns.php similarity index 100% rename from public/ht/del-http-dns.php rename to pages/ht/del-http-dns.php diff --git a/public/ht/del-http-onion.php b/pages/ht/del-http-onion.php similarity index 100% rename from public/ht/del-http-onion.php rename to pages/ht/del-http-onion.php diff --git a/public/ht/index.php b/pages/ht/index.php similarity index 100% rename from public/ht/index.php rename to pages/ht/index.php diff --git a/public/ht/le.php b/pages/ht/le.php similarity index 100% rename from public/ht/le.php rename to pages/ht/le.php diff --git a/public/index.php b/pages/index.php similarity index 100% rename from public/index.php rename to pages/index.php diff --git a/public/ns/caa.php b/pages/ns/caa.php similarity index 100% rename from public/ns/caa.php rename to pages/ns/caa.php diff --git a/public/ns/cname.php b/pages/ns/cname.php similarity index 100% rename from public/ns/cname.php rename to pages/ns/cname.php diff --git a/public/ns/dname.php b/pages/ns/dname.php similarity index 100% rename from public/ns/dname.php rename to pages/ns/dname.php diff --git a/public/ns/index.php b/pages/ns/index.php similarity index 100% rename from public/ns/index.php rename to pages/ns/index.php diff --git a/public/ns/ip.php b/pages/ns/ip.php similarity index 100% rename from public/ns/ip.php rename to pages/ns/ip.php diff --git a/public/ns/loc.php b/pages/ns/loc.php similarity index 100% rename from public/ns/loc.php rename to pages/ns/loc.php diff --git a/public/ns/mx.php b/pages/ns/mx.php similarity index 100% rename from public/ns/mx.php rename to pages/ns/mx.php diff --git a/public/ns/ns.php b/pages/ns/ns.php similarity index 100% rename from public/ns/ns.php rename to pages/ns/ns.php diff --git a/public/ns/print.php b/pages/ns/print.php similarity index 100% rename from public/ns/print.php rename to pages/ns/print.php diff --git a/public/ns/srv.php b/pages/ns/srv.php similarity index 100% rename from public/ns/srv.php rename to pages/ns/srv.php diff --git a/public/ns/sshfp.php b/pages/ns/sshfp.php similarity index 100% rename from public/ns/sshfp.php rename to pages/ns/sshfp.php diff --git a/public/ns/tlsa.php b/pages/ns/tlsa.php similarity index 100% rename from public/ns/tlsa.php rename to pages/ns/tlsa.php diff --git a/public/ns/txt.php b/pages/ns/txt.php similarity index 100% rename from public/ns/txt.php rename to pages/ns/txt.php diff --git a/public/ns/zone-add.php b/pages/ns/zone-add.php similarity index 100% rename from public/ns/zone-add.php rename to pages/ns/zone-add.php diff --git a/public/ns/zone-del.php b/pages/ns/zone-del.php similarity index 100% rename from public/ns/zone-del.php rename to pages/ns/zone-del.php diff --git a/public/reg/ds.php b/pages/reg/ds.php similarity index 100% rename from public/reg/ds.php rename to pages/reg/ds.php diff --git a/public/reg/glue.php b/pages/reg/glue.php similarity index 100% rename from public/reg/glue.php rename to pages/reg/glue.php diff --git a/public/reg/index.php b/pages/reg/index.php similarity index 100% rename from public/reg/index.php rename to pages/reg/index.php diff --git a/public/reg/ns.php b/pages/reg/ns.php similarity index 100% rename from public/reg/ns.php rename to pages/reg/ns.php diff --git a/public/reg/print.php b/pages/reg/print.php similarity index 100% rename from public/reg/print.php rename to pages/reg/print.php diff --git a/public/reg/register.php b/pages/reg/register.php similarity index 100% rename from public/reg/register.php rename to pages/reg/register.php diff --git a/public/reg/unregister.php b/pages/reg/unregister.php similarity index 100% rename from public/reg/unregister.php rename to pages/reg/unregister.php diff --git a/router.php b/router.php index 3876481..e468708 100644 --- a/router.php +++ b/router.php @@ -44,6 +44,6 @@ if (SERVICE !== '.') { require "html.php"; -require "public/" . PAGE_ADDRESS . ".php"; +require "pages/" . PAGE_ADDRESS . ".php"; closeHtml();