Commit 97eec8c1 by Scott

Add deprecation notices to old includes

parent a86b3426
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/answer.php'; require_once QA_INCLUDE_DIR.'ajax/answer.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/asktitle.php'; require_once QA_INCLUDE_DIR.'ajax/asktitle.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/category.php'; require_once QA_INCLUDE_DIR.'ajax/category.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/click-admin.php'; require_once QA_INCLUDE_DIR.'ajax/click-admin.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/click-answer.php'; require_once QA_INCLUDE_DIR.'ajax/click-answer.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/click-comment.php'; require_once QA_INCLUDE_DIR.'ajax/click-comment.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/click-pm.php'; require_once QA_INCLUDE_DIR.'ajax/click-pm.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/click-wall.php'; require_once QA_INCLUDE_DIR.'ajax/click-wall.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/comment.php'; require_once QA_INCLUDE_DIR.'ajax/comment.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/favorite.php'; require_once QA_INCLUDE_DIR.'ajax/favorite.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/mailing.php'; require_once QA_INCLUDE_DIR.'ajax/mailing.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/notice.php'; require_once QA_INCLUDE_DIR.'ajax/notice.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/recalc.php'; require_once QA_INCLUDE_DIR.'ajax/recalc.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/show-comments.php'; require_once QA_INCLUDE_DIR.'ajax/show-comments.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/version.php'; require_once QA_INCLUDE_DIR.'ajax/version.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/vote.php'; require_once QA_INCLUDE_DIR.'ajax/vote.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'ajax/wallpost.php'; require_once QA_INCLUDE_DIR.'ajax/wallpost.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/admin.php'; require_once QA_INCLUDE_DIR.'app/admin.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/blobs.php'; require_once QA_INCLUDE_DIR.'app/blobs.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/captcha.php'; require_once QA_INCLUDE_DIR.'app/captcha.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/cookies.php'; require_once QA_INCLUDE_DIR.'app/cookies.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/emails.php'; require_once QA_INCLUDE_DIR.'app/emails.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/events.php'; require_once QA_INCLUDE_DIR.'app/events.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/favorites.php'; require_once QA_INCLUDE_DIR.'app/favorites.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/format.php'; require_once QA_INCLUDE_DIR.'app/format.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/limits.php'; require_once QA_INCLUDE_DIR.'app/limits.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/mailing.php'; require_once QA_INCLUDE_DIR.'app/mailing.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/messages.php'; require_once QA_INCLUDE_DIR.'app/messages.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/options.php'; require_once QA_INCLUDE_DIR.'app/options.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/post-create.php'; require_once QA_INCLUDE_DIR.'app/post-create.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/post-update.php'; require_once QA_INCLUDE_DIR.'app/post-update.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/posts.php'; require_once QA_INCLUDE_DIR.'app/posts.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/q-list.php'; require_once QA_INCLUDE_DIR.'app/q-list.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/recalc.php'; require_once QA_INCLUDE_DIR.'app/recalc.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/search.php'; require_once QA_INCLUDE_DIR.'app/search.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/updates.php'; require_once QA_INCLUDE_DIR.'app/updates.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/upload.php'; require_once QA_INCLUDE_DIR.'app/upload.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/users-edit.php'; require_once QA_INCLUDE_DIR.'app/users-edit.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/users.php'; require_once QA_INCLUDE_DIR.'app/users.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'app/votes.php'; require_once QA_INCLUDE_DIR.'app/votes.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated; please use Q2A built-in functions for sending emails. * @deprecated This file is deprecated; please use Q2A built-in functions for sending emails.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once 'vendor/PHPMailer/PHPMailerAutoload.php'; require_once 'vendor/PHPMailer/PHPMailerAutoload.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated; please use Q2A built-in functions for sending emails. * @deprecated This file is deprecated; please use Q2A built-in functions for sending emails.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once 'vendor/PHPMailer/PHPMailerAutoload.php'; require_once 'vendor/PHPMailer/PHPMailerAutoload.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/admin.php'; require_once QA_INCLUDE_DIR.'db/admin.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/blobs.php'; require_once QA_INCLUDE_DIR.'db/blobs.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/cache.php'; require_once QA_INCLUDE_DIR.'db/cache.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/cookies.php'; require_once QA_INCLUDE_DIR.'db/cookies.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/events.php'; require_once QA_INCLUDE_DIR.'db/events.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/favorites.php'; require_once QA_INCLUDE_DIR.'db/favorites.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/hotness.php'; require_once QA_INCLUDE_DIR.'db/hotness.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/install.php'; require_once QA_INCLUDE_DIR.'db/install.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/limits.php'; require_once QA_INCLUDE_DIR.'db/limits.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/maxima.php'; require_once QA_INCLUDE_DIR.'db/maxima.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/messages.php'; require_once QA_INCLUDE_DIR.'db/messages.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/metas.php'; require_once QA_INCLUDE_DIR.'db/metas.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/notices.php'; require_once QA_INCLUDE_DIR.'db/notices.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/options.php'; require_once QA_INCLUDE_DIR.'db/options.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/points.php'; require_once QA_INCLUDE_DIR.'db/points.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/post-create.php'; require_once QA_INCLUDE_DIR.'db/post-create.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/post-update.php'; require_once QA_INCLUDE_DIR.'db/post-update.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/recalc.php'; require_once QA_INCLUDE_DIR.'db/recalc.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/selects.php'; require_once QA_INCLUDE_DIR.'db/selects.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/users.php'; require_once QA_INCLUDE_DIR.'db/users.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'db/votes.php'; require_once QA_INCLUDE_DIR.'db/votes.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'plugins/qa-editor-basic.php'; require_once QA_INCLUDE_DIR.'plugins/qa-editor-basic.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'plugins/qa-event-limits.php'; require_once QA_INCLUDE_DIR.'plugins/qa-event-limits.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'plugins/qa-event-notify.php'; require_once QA_INCLUDE_DIR.'plugins/qa-event-notify.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'plugins/qa-event-updates.php'; require_once QA_INCLUDE_DIR.'plugins/qa-event-updates.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once 'util/external-users-wp.php'; require_once 'util/external-users-wp.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'plugins/qa-filter-basic.php'; require_once QA_INCLUDE_DIR.'plugins/qa-filter-basic.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once 'vendor/htmLawed.php'; require_once 'vendor/htmLawed.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
return (include QA_INCLUDE_DIR.'lang/qa-lang-admin.php'); return (include QA_INCLUDE_DIR.'lang/qa-lang-admin.php');
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
return (include QA_INCLUDE_DIR.'lang/qa-lang-emails.php'); return (include QA_INCLUDE_DIR.'lang/qa-lang-emails.php');
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
return (include QA_INCLUDE_DIR.'lang/qa-lang-main.php'); return (include QA_INCLUDE_DIR.'lang/qa-lang-main.php');
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
return (include QA_INCLUDE_DIR.'lang/qa-lang-misc.php'); return (include QA_INCLUDE_DIR.'lang/qa-lang-misc.php');
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
return (include QA_INCLUDE_DIR.'lang/qa-lang-options.php'); return (include QA_INCLUDE_DIR.'lang/qa-lang-options.php');
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
return (include QA_INCLUDE_DIR.'lang/qa-lang-profile.php'); return (include QA_INCLUDE_DIR.'lang/qa-lang-profile.php');
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
return (include QA_INCLUDE_DIR.'lang/qa-lang-question.php'); return (include QA_INCLUDE_DIR.'lang/qa-lang-question.php');
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
return (include QA_INCLUDE_DIR.'lang/qa-lang-users.php'); return (include QA_INCLUDE_DIR.'lang/qa-lang-users.php');
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'plugins/qa-layer-voters-flaggers.php'; require_once QA_INCLUDE_DIR.'plugins/qa-layer-voters-flaggers.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/account.php'; require_once QA_INCLUDE_DIR.'pages/account.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/activity.php'; require_once QA_INCLUDE_DIR.'pages/activity.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-approve.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-approve.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-categories.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-categories.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-default.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-default.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-flagged.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-flagged.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-hidden.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-hidden.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-moderate.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-moderate.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-pages.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-pages.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-plugins.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-plugins.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-points.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-points.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-recalc.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-recalc.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-stats.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-stats.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-userfields.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-userfields.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-usertitles.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-usertitles.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/admin/admin-widgets.php'; require_once QA_INCLUDE_DIR.'pages/admin/admin-widgets.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/answers.php'; require_once QA_INCLUDE_DIR.'pages/answers.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/ask.php'; require_once QA_INCLUDE_DIR.'pages/ask.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/categories.php'; require_once QA_INCLUDE_DIR.'pages/categories.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/comments.php'; require_once QA_INCLUDE_DIR.'pages/comments.php';
...@@ -3,4 +3,13 @@ ...@@ -3,4 +3,13 @@
* @deprecated This file is deprecated from Q2A 1.7; use the below file instead. * @deprecated This file is deprecated from Q2A 1.7; use the below file instead.
*/ */
if (!defined('QA_VERSION')) {
header('Location: ../');
exit;
}
if (defined('QA_DEBUG_PERFORMANCE') && QA_DEBUG_PERFORMANCE) {
trigger_error('Included file ' . basename(__FILE__) . ' is deprecated');
}
require_once QA_INCLUDE_DIR.'pages/confirm.php'; require_once QA_INCLUDE_DIR.'pages/confirm.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