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
c94cfa54
Commit
c94cfa54
authored
Mar 21, 2014
by
Scott Vivian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update minimum PHP version
parent
bf4007d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
qa-base.php
qa-include/qa-base.php
+6
-6
No files found.
qa-include/qa-base.php
View file @
c94cfa54
...
...
@@ -25,8 +25,8 @@
*/
define
(
'QA_VERSION'
,
'1.
6.3
'
);
// also used as suffix for .js and .css requests
define
(
'QA_BUILD_DATE'
,
'2014-0
1-19
'
);
define
(
'QA_VERSION'
,
'1.
7.0-alpha1
'
);
// also used as suffix for .js and .css requests
define
(
'QA_BUILD_DATE'
,
'2014-0
3-20
'
);
// Execution section of this file - remainder contains function definitions
...
...
@@ -102,8 +102,8 @@
Set up and verify the PHP environment for Q2A, including unregistering globals if necessary
*/
{
if
(
qa_php_version_below
(
'
4.3
'
))
qa_fatal_error
(
'
This requires PHP 4.3
or later'
);
if
(
qa_php_version_below
(
'
5.1.6
'
))
qa_fatal_error
(
'
Q2A requires PHP 5.1.6
or later'
);
error_reporting
(
E_ALL
);
// be ultra-strict about error checking
...
...
@@ -275,7 +275,7 @@
function
qa_addon_metadata
(
$contents
,
$type
,
$versiononly
=
false
)
/*
Retrieve metadata information from the $contents of a qa-theme.php or qa-plugin.php file, specified by $type ('Plugin' or 'Theme').
If $versiononly is true, only version metadata is parsed.
If $versiononly is true, only
min
version metadata is parsed.
Name, Description, Min Q2A & Min PHP are not currently used by themes.
*/
{
...
...
@@ -1168,7 +1168,7 @@
function
qa_path_to_root
()
/*
Return the relative path to the Q2A root (if it
's
was previously set by qa_set_request())
Return the relative path to the Q2A root (if it was previously set by qa_set_request())
*/
{
if
(
qa_to_override
(
__FUNCTION__
))
{
$args
=
func_get_args
();
return
qa_call_override
(
__FUNCTION__
,
$args
);
}
...
...
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