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
c4e7e7eb
Commit
c4e7e7eb
authored
Oct 03, 2017
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix double-encoded output on install page
parent
56465b90
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
qa-config-example.php
qa-config-example.php
+4
-4
qa-install.php
qa-include/qa-install.php
+1
-1
No files found.
qa-config-example.php
View file @
c4e7e7eb
...
...
@@ -150,9 +150,9 @@
/*
Some settings to help optimize your Question2Answer site's performance.
If QA_HTML_COMPRESSION is true, HTML web pages will be output using Gzip compression,
if
the user's browser indicates this is supported. This will increase the performance of your
site, but may make debugging harder if PHP does not complete execution
.
If QA_HTML_COMPRESSION is true, HTML web pages will be output using Gzip compression,
which
will increase the performance of your site (if the user's browser indicates this is supported).
This is best done at the server level if possible, but many hosts don't provide server access
.
QA_MAX_LIMIT_START is the maximum start parameter that can be requested, for paging through
long lists of questions, etc... As the start parameter gets higher, queries tend to get
...
...
@@ -184,7 +184,7 @@
bottom of every Question2Answer page.
*/
define
(
'QA_HTML_COMPRESSION'
,
tru
e
);
define
(
'QA_HTML_COMPRESSION'
,
fals
e
);
define
(
'QA_MAX_LIMIT_START'
,
19999
);
define
(
'QA_IGNORED_WORDS_FREQ'
,
10000
);
define
(
'QA_ALLOW_UNINDEXED_QUERIES'
,
false
);
...
...
qa-include/qa-install.php
View file @
c4e7e7eb
...
...
@@ -58,7 +58,7 @@ if (!function_exists('qa_install_db_fail_handler')) {
if
(
ob_get_level
()
>
0
)
{
// clears any current theme output to prevent broken design
ob_clean
();
ob_
end_
clean
();
}
$success
=
''
;
...
...
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