Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
allorepair
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jansa Jose
allorepair
Commits
53d065a9
Commit
53d065a9
authored
Sep 06, 2019
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apis
parent
8397b0ee
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
Webservice.php
application/controllers/Webservice.php
+0
-0
general_helper.php
application/helpers/general_helper.php
+15
-0
Webservice_model.php
application/models/Webservice_model.php
+0
-0
No files found.
application/controllers/Webservice.php
View file @
53d065a9
This diff is collapsed.
Click to expand it.
application/helpers/general_helper.php
View file @
53d065a9
...
@@ -13,4 +13,18 @@
...
@@ -13,4 +13,18 @@
echo
'<br>'
;
echo
'<br>'
;
}
}
function
set_upload_service
(
$path
){
$config
=
array
();
$config
[
'upload_path'
]
=
$path
;
$config
[
'allowed_types'
]
=
'*'
;
$config
[
'overwrite'
]
=
FALSE
;
return
$config
;
}
function
getSettings
(){
$CI
=
&
get_instance
();
$settings
=
$CI
->
db
->
get
(
'settings'
);
return
(
!
empty
(
$settings
))
?
$settings
->
row_array
()
:
''
;
}
?>
?>
\ No newline at end of file
application/models/Webservice_model.php
View file @
53d065a9
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