Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mbas-shortener
Project
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mbas-shortener
Commits
0cd96e72
Commit
0cd96e72
authored
Jan 28, 2016
by
Vitalik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add json.php for php 5.5
parent
89ecc548
Pipeline
#178
skipped
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
helper.php
helper.php
+9
-0
json.php
json.php
+0
-0
No files found.
helper.php
View file @
0cd96e72
...
...
@@ -2,6 +2,15 @@
$config
=
require
PATH_BASE
.
'/config.php'
;
if
(
!
function_exists
(
'json_encode'
))
{
require_once
(
'json.php'
);
function
json_encode
(
$var
)
{
$JSON
=
new
Services_JSON
;
return
$JSON
->
encode
(
$var
);
}
}
function
connect_db
()
{
global
$config
;
...
...
json.php
0 → 100644
View file @
0cd96e72
This diff is collapsed.
Click to expand it.
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