diff --git a/.gitignore b/.gitignore index d26e73a..7316b02 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,6 @@ yarn-error.log !.yarn/sdks !.yarn/versions assets/bundle/* -!assets/bundle/.gitkeep \ No newline at end of file +!assets/bundle/.gitkeep +config/site.php +includes/config.php diff --git a/config/site.php b/config/site.php deleted file mode 100644 index b8bb696..0000000 --- a/config/site.php +++ /dev/null @@ -1,42 +0,0 @@ - - array ( - 'title' => 'PonePaste', - 'description' => 'PonePaste can store green', - 'baseurl' => 'ponepaste.local/', - 'keywords' => '', - 'site_name' => 'PonePaste', - 'email' => '', - 'additional_scripts' => '', - ), - 'interface' => - array ( - 'language' => 'en', - 'theme' => 'bulma', - ), - 'permissions' => - array ( - 'disable_guest' => false, - 'private' => false, - ), - 'mail' => - array ( - 'verification' => false, - 'smtp_host' => '', - 'smtp_port' => '', - 'smtp_user' => '', - 'socket' => '', - 'auth' => '', - 'protocol' => '', - ), - 'captcha' => - array ( - 'enabled' => true, - 'multiple' => false, - 'mode' => 'Normal', - 'allowed' => 'ABCDEFGHIJKLMNOPQRSTUVYXYZabcdefghijklmnopqrstuvwxyz0123456789', - 'colour' => '#000000', - ), -); \ No newline at end of file diff --git a/includes/common.php b/includes/common.php index 5a57cc0..86b210c 100644 --- a/includes/common.php +++ b/includes/common.php @@ -209,8 +209,6 @@ if ($site_permissions) { $captcha_config = $site_info['captcha']; $captcha_enabled = (bool) $captcha_config['enabled']; - - $total_pastes = Paste::count(); $total_page_views = PageView::select('tpage')->orderBy('id', 'desc')->first()->tpage; $total_unique_views = PageView::select('tvisit')->orderBy('id', 'desc')->first()->tvisit; diff --git a/includes/config.php b/includes/config.php deleted file mode 100644 index df46ccb..0000000 --- a/includes/config.php +++ /dev/null @@ -1,48 +0,0 @@ - 'Green Text', - 'text' => 'Plain Text', - 'pastedown' => 'pastedown', - 'pastedown_old' => 'pastedown old' -]; - - -// Cookie - I want a cookie, can I have one?