Commit 5c3057c7 by Scott

Improve compatibility of deprecated includes

Fixes #203.
parent b4eb7a72
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/answer.php';
require_once QA_INCLUDE_DIR.'ajax/answer.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/asktitle.php';
require_once QA_INCLUDE_DIR.'ajax/asktitle.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/category.php';
require_once QA_INCLUDE_DIR.'ajax/category.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/click-admin.php';
require_once QA_INCLUDE_DIR.'ajax/click-admin.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/click-answer.php';
require_once QA_INCLUDE_DIR.'ajax/click-answer.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/click-comment.php';
require_once QA_INCLUDE_DIR.'ajax/click-comment.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/click-pm.php';
require_once QA_INCLUDE_DIR.'ajax/click-pm.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/click-wall.php';
require_once QA_INCLUDE_DIR.'ajax/click-wall.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/comment.php';
require_once QA_INCLUDE_DIR.'ajax/comment.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/favorite.php';
require_once QA_INCLUDE_DIR.'ajax/favorite.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/mailing.php';
require_once QA_INCLUDE_DIR.'ajax/mailing.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/notice.php';
require_once QA_INCLUDE_DIR.'ajax/notice.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/recalc.php';
require_once QA_INCLUDE_DIR.'ajax/recalc.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/show-comments.php';
require_once QA_INCLUDE_DIR.'ajax/show-comments.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/version.php';
require_once QA_INCLUDE_DIR.'ajax/version.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/vote.php';
require_once QA_INCLUDE_DIR.'ajax/vote.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'ajax/wallpost.php';
require_once QA_INCLUDE_DIR.'ajax/wallpost.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/admin.php';
require_once QA_INCLUDE_DIR.'app/admin.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/blobs.php';
require_once QA_INCLUDE_DIR.'app/blobs.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/captcha.php';
require_once QA_INCLUDE_DIR.'app/captcha.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/cookies.php';
require_once QA_INCLUDE_DIR.'app/cookies.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/emails.php';
require_once QA_INCLUDE_DIR.'app/emails.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/events.php';
require_once QA_INCLUDE_DIR.'app/events.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/favorites.php';
require_once QA_INCLUDE_DIR.'app/favorites.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/format.php';
require_once QA_INCLUDE_DIR.'app/format.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/limits.php';
require_once QA_INCLUDE_DIR.'app/limits.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/mailing.php';
require_once QA_INCLUDE_DIR.'app/mailing.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/messages.php';
require_once QA_INCLUDE_DIR.'app/messages.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/options.php';
require_once QA_INCLUDE_DIR.'app/options.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/post-create.php';
require_once QA_INCLUDE_DIR.'app/post-create.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/post-update.php';
require_once QA_INCLUDE_DIR.'app/post-update.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/posts.php';
require_once QA_INCLUDE_DIR.'app/posts.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/q-list.php';
require_once QA_INCLUDE_DIR.'app/q-list.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/recalc.php';
require_once QA_INCLUDE_DIR.'app/recalc.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/search.php';
require_once QA_INCLUDE_DIR.'app/search.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/updates.php';
require_once QA_INCLUDE_DIR.'app/updates.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/upload.php';
require_once QA_INCLUDE_DIR.'app/upload.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/users-edit.php';
require_once QA_INCLUDE_DIR.'app/users-edit.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/users.php';
require_once QA_INCLUDE_DIR.'app/users.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'app/votes.php';
require_once QA_INCLUDE_DIR.'app/votes.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/admin.php';
require_once QA_INCLUDE_DIR.'db/admin.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/blobs.php';
require_once QA_INCLUDE_DIR.'db/blobs.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/cache.php';
require_once QA_INCLUDE_DIR.'db/cache.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/cookies.php';
require_once QA_INCLUDE_DIR.'db/cookies.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/events.php';
require_once QA_INCLUDE_DIR.'db/events.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/favorites.php';
require_once QA_INCLUDE_DIR.'db/favorites.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/hotness.php';
require_once QA_INCLUDE_DIR.'db/hotness.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/install.php';
require_once QA_INCLUDE_DIR.'db/install.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/limits.php';
require_once QA_INCLUDE_DIR.'db/limits.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/maxima.php';
require_once QA_INCLUDE_DIR.'db/maxima.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/messages.php';
require_once QA_INCLUDE_DIR.'db/messages.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/metas.php';
require_once QA_INCLUDE_DIR.'db/metas.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/notices.php';
require_once QA_INCLUDE_DIR.'db/notices.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/options.php';
require_once QA_INCLUDE_DIR.'db/options.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/points.php';
require_once QA_INCLUDE_DIR.'db/points.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/post-create.php';
require_once QA_INCLUDE_DIR.'db/post-create.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/update.php';
require_once QA_INCLUDE_DIR.'db/post-update.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/recalc.php';
require_once QA_INCLUDE_DIR.'db/recalc.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/selects.php';
require_once QA_INCLUDE_DIR.'db/selects.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/users.php';
require_once QA_INCLUDE_DIR.'db/users.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'db/votes.php';
require_once QA_INCLUDE_DIR.'db/votes.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'plugins/qa-editor-basic.php';
require_once QA_INCLUDE_DIR.'plugins/qa-editor-basic.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'plugins/qa-event-limits.php';
require_once QA_INCLUDE_DIR.'plugins/qa-event-limits.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'plugins/qa-event-notify.php';
require_once QA_INCLUDE_DIR.'plugins/qa-event-notify.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'plugins/qa-event-updates.php';
require_once QA_INCLUDE_DIR.'plugins/qa-event-updates.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'plugins/qa-filter-basic.php';
require_once QA_INCLUDE_DIR.'plugins/qa-filter-basic.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
return (include 'lang/qa-lang-admin.php');
return (include QA_INCLUDE_DIR.'lang/qa-lang-admin.php');
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
return (include 'lang/qa-lang-emails.php');
return (include QA_INCLUDE_DIR.'lang/qa-lang-emails.php');
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
return (include 'lang/qa-lang-main.php');
return (include QA_INCLUDE_DIR.'lang/qa-lang-main.php');
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
return (include 'lang/qa-lang-misc.php');
return (include QA_INCLUDE_DIR.'lang/qa-lang-misc.php');
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
return (include 'lang/qa-lang-options.php');
return (include QA_INCLUDE_DIR.'lang/qa-lang-options.php');
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
return (include 'lang/qa-lang-profile.php');
return (include QA_INCLUDE_DIR.'lang/qa-lang-profile.php');
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
return (include 'lang/qa-lang-question.php');
return (include QA_INCLUDE_DIR.'lang/qa-lang-question.php');
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
return (include 'lang/qa-lang-users.php');
return (include QA_INCLUDE_DIR.'lang/qa-lang-users.php');
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'plugins/qa-layer-voters-flaggers.php';
require_once QA_INCLUDE_DIR.'plugins/qa-layer-voters-flaggers.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/account.php';
require_once QA_INCLUDE_DIR.'pages/account.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/activity.php';
require_once QA_INCLUDE_DIR.'pages/activity.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-approve.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-approve.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-categories.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-categories.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-default.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-default.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-flagged.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-flagged.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-hidden.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-hidden.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-moderate.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-moderate.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-pages.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-pages.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-plugins.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-plugins.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-points.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-points.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-recalc.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-recalc.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-stats.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-stats.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-userfields.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-userfields.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-usertitles.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-usertitles.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/admin/admin-widgets.php';
require_once QA_INCLUDE_DIR.'pages/admin/admin-widgets.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/answers.php';
require_once QA_INCLUDE_DIR.'pages/answers.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/ask.php';
require_once QA_INCLUDE_DIR.'pages/ask.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/categories.php';
require_once QA_INCLUDE_DIR.'pages/categories.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/comments.php';
require_once QA_INCLUDE_DIR.'pages/comments.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/confirm.php';
require_once QA_INCLUDE_DIR.'pages/confirm.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/default.php';
require_once QA_INCLUDE_DIR.'pages/default.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/favorites-list.php';
require_once QA_INCLUDE_DIR.'pages/favorites-list.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/favorites.php';
require_once QA_INCLUDE_DIR.'pages/favorites.php';
......@@ -3,4 +3,4 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/
require_once 'pages/feedback.php';
require_once QA_INCLUDE_DIR.'pages/feedback.php';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment