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
dafef9a2
Commit
dafef9a2
authored
Mar 19, 2014
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix parse error (@ inside empty function)
parent
716cb8db
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
index.php
index.php
+3
-3
qa-app-search.php
qa-include/qa-app-search.php
+1
-1
qa-page-login.php
qa-include/qa-page-login.php
+1
-1
No files found.
index.php
View file @
dafef9a2
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
http://www.question2answer.org/
http://www.question2answer.org/
File: index.php
File: index.php
Version: See define()s at top of qa-include/qa-base.php
Version: See define()s at top of qa-include/qa-base.php
Description: A stub that only sets up the Q2A root and includes qa-index.php
Description: A stub that only sets up the Q2A root and includes qa-index.php
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
modify it under the terms of the GNU General Public License
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
// Set base path here so this works with symbolic links for multiple installations
// Set base path here so this works with symbolic links for multiple installations
define
(
'QA_BASE_DIR'
,
dirname
(
empty
(
$_SERVER
[
'SCRIPT_FILENAME'
])
?
__FILE__
:
$_SERVER
[
'SCRIPT_FILENAME'
])
.
'/'
);
define
(
'QA_BASE_DIR'
,
dirname
(
empty
(
$_SERVER
[
'SCRIPT_FILENAME'
])
?
__FILE__
:
$_SERVER
[
'SCRIPT_FILENAME'
])
.
'/'
);
require
'qa-include/qa-index.php'
;
require
'qa-include/qa-index.php'
;
...
...
qa-include/qa-app-search.php
View file @
dafef9a2
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
$result
[
'question_postid'
]
=
$result
[
'question'
][
'postid'
];
$result
[
'question_postid'
]
=
$result
[
'question'
][
'postid'
];
if
(
isset
(
$result
[
'page_pageid'
])
&&
!
isset
(
$result
[
'page'
]))
if
(
isset
(
$result
[
'page_pageid'
])
&&
!
isset
(
$result
[
'page'
]))
$result
[
'page'
]
=@
$pageidpage
[
$result
[
'page_pageid'
]];
$result
[
'page'
]
=@
$pageidpage
[
$result
[
'page_pageid'
]];
if
(
!
isset
(
$result
[
'title'
]))
{
if
(
!
isset
(
$result
[
'title'
]))
{
if
(
isset
(
$result
[
'question'
]))
if
(
isset
(
$result
[
'question'
]))
...
...
qa-include/qa-page-login.php
View file @
dafef9a2
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
'type'
=>
'checkbox'
,
'type'
=>
'checkbox'
,
'label'
=>
qa_lang_html
(
'users/remember_label'
),
'label'
=>
qa_lang_html
(
'users/remember_label'
),
'tags'
=>
'name="remember"'
,
'tags'
=>
'name="remember"'
,
'value'
=>
!
empty
(
@
$inremember
),
'value'
=>
!
empty
(
$inremember
),
),
),
),
),
...
...
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