Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
db7c8069
Commit
db7c8069
authored
Oct 30, 2014
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move AJAX controllers into subdirectory
parent
210357f2
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
18 additions
and
18 deletions
+18
-18
answer.php
qa-include/ajax/answer.php
+0
-0
asktitle.php
qa-include/ajax/asktitle.php
+0
-0
category.php
qa-include/ajax/category.php
+0
-0
click-admin.php
qa-include/ajax/click-admin.php
+0
-0
click-answer.php
qa-include/ajax/click-answer.php
+0
-0
click-comment.php
qa-include/ajax/click-comment.php
+0
-0
click-pm.php
qa-include/ajax/click-pm.php
+0
-0
click-wall.php
qa-include/ajax/click-wall.php
+0
-0
comment.php
qa-include/ajax/comment.php
+0
-0
favorite.php
qa-include/ajax/favorite.php
+0
-0
mailing.php
qa-include/ajax/mailing.php
+0
-0
notice.php
qa-include/ajax/notice.php
+0
-0
recalc.php
qa-include/ajax/recalc.php
+0
-0
show-comments.php
qa-include/ajax/show-comments.php
+0
-0
version.php
qa-include/ajax/version.php
+0
-0
vote.php
qa-include/ajax/vote.php
+0
-0
wallpost.php
qa-include/ajax/wallpost.php
+0
-0
qa-ajax.php
qa-include/qa-ajax.php
+18
-18
No files found.
qa-include/
qa-ajax-
answer.php
→
qa-include/
ajax/
answer.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
asktitle.php
→
qa-include/
ajax/
asktitle.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
category.php
→
qa-include/
ajax/
category.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
click-admin.php
→
qa-include/
ajax/
click-admin.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
click-answer.php
→
qa-include/
ajax/
click-answer.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
click-comment.php
→
qa-include/
ajax/
click-comment.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
click-pm.php
→
qa-include/
ajax/
click-pm.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
click-wall.php
→
qa-include/
ajax/
click-wall.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
comment.php
→
qa-include/
ajax/
comment.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
favorite.php
→
qa-include/
ajax/
favorite.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
mailing.php
→
qa-include/
ajax/
mailing.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
notice.php
→
qa-include/
ajax/
notice.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
recalc.php
→
qa-include/
ajax/
recalc.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
show-comments.php
→
qa-include/
ajax/
show-comments.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
version.php
→
qa-include/
ajax/
version.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
vote.php
→
qa-include/
ajax/
vote.php
View file @
db7c8069
File moved
qa-include/
qa-ajax-
wallpost.php
→
qa-include/
ajax/
wallpost.php
View file @
db7c8069
File moved
qa-include/qa-ajax.php
View file @
db7c8069
...
...
@@ -60,23 +60,23 @@
// Perform the appropriate Ajax operation
$routing
=
array
(
'notice'
=>
'
qa-ajax-
notice.php'
,
'favorite'
=>
'
qa-ajax-
favorite.php'
,
'vote'
=>
'
qa-ajax-
vote.php'
,
'recalc'
=>
'
qa-ajax-
recalc.php'
,
'mailing'
=>
'
qa-ajax-
mailing.php'
,
'version'
=>
'
qa-ajax-
version.php'
,
'category'
=>
'
qa-ajax-
category.php'
,
'asktitle'
=>
'
qa-ajax-
asktitle.php'
,
'answer'
=>
'
qa-ajax-
answer.php'
,
'comment'
=>
'
qa-ajax-
comment.php'
,
'click_a'
=>
'
qa-ajax-
click-answer.php'
,
'click_c'
=>
'
qa-ajax-
click-comment.php'
,
'click_admin'
=>
'
qa-ajax-
click-admin.php'
,
'show_cs'
=>
'
qa-ajax-
show-comments.php'
,
'wallpost'
=>
'
qa-ajax-
wallpost.php'
,
'click_wall'
=>
'
qa-ajax-
click-wall.php'
,
'click_pm'
=>
'
qa-ajax-
click-pm.php'
,
'notice'
=>
'notice.php'
,
'favorite'
=>
'favorite.php'
,
'vote'
=>
'vote.php'
,
'recalc'
=>
'recalc.php'
,
'mailing'
=>
'mailing.php'
,
'version'
=>
'version.php'
,
'category'
=>
'category.php'
,
'asktitle'
=>
'asktitle.php'
,
'answer'
=>
'answer.php'
,
'comment'
=>
'comment.php'
,
'click_a'
=>
'click-answer.php'
,
'click_c'
=>
'click-comment.php'
,
'click_admin'
=>
'click-admin.php'
,
'show_cs'
=>
'show-comments.php'
,
'wallpost'
=>
'wallpost.php'
,
'click_wall'
=>
'click-wall.php'
,
'click_pm'
=>
'click-pm.php'
,
);
$operation
=
qa_post_text
(
'qa_operation'
);
...
...
@@ -84,7 +84,7 @@
if
(
isset
(
$routing
[
$operation
]))
{
qa_db_connect
(
'qa_ajax_db_fail_handler'
);
require
QA_INCLUDE_DIR
.
$routing
[
$operation
];
require
QA_INCLUDE_DIR
.
'ajax/'
.
$routing
[
$operation
];
qa_db_disconnect
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment