Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
a12f07d5
Commit
a12f07d5
authored
14 years ago
by
Giovannoni Laurent
Browse files
Options
Downloads
Patches
Plain Diff
evol : signature of ws
parent
1f0654c9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/trunk/ws_server.php
+2
-2
2 additions, 2 deletions
core/trunk/ws_server.php
with
2 additions
and
2 deletions
core/trunk/ws_server.php
+
2
−
2
View file @
a12f07d5
...
@@ -37,7 +37,6 @@ require_once("core".DIRECTORY_SEPARATOR."class".DIRECTORY_SEPARATOR."class_db.ph
...
@@ -37,7 +37,6 @@ require_once("core".DIRECTORY_SEPARATOR."class".DIRECTORY_SEPARATOR."class_db.ph
require_once
(
"core"
.
DIRECTORY_SEPARATOR
.
"class"
.
DIRECTORY_SEPARATOR
.
"class_request.php"
);
require_once
(
"core"
.
DIRECTORY_SEPARATOR
.
"class"
.
DIRECTORY_SEPARATOR
.
"class_request.php"
);
require_once
(
"core"
.
DIRECTORY_SEPARATOR
.
"class"
.
DIRECTORY_SEPARATOR
.
"class_core_tools.php"
);
require_once
(
"core"
.
DIRECTORY_SEPARATOR
.
"class"
.
DIRECTORY_SEPARATOR
.
"class_core_tools.php"
);
require_once
(
"core"
.
DIRECTORY_SEPARATOR
.
"class"
.
DIRECTORY_SEPARATOR
.
"web_service"
.
DIRECTORY_SEPARATOR
.
"class_web_service.php"
);
require_once
(
"core"
.
DIRECTORY_SEPARATOR
.
"class"
.
DIRECTORY_SEPARATOR
.
"web_service"
.
DIRECTORY_SEPARATOR
.
"class_web_service.php"
);
require_once
(
"core"
.
DIRECTORY_SEPARATOR
.
"class"
.
DIRECTORY_SEPARATOR
.
"web_service"
.
DIRECTORY_SEPARATOR
.
"class_soap_server.php"
);
//load Maarch session vars
//load Maarch session vars
$portal
=
new
portal
();
$portal
=
new
portal
();
$portal
->
unset_session
();
$portal
->
unset_session
();
...
@@ -49,6 +48,7 @@ $_SESSION["config"]["app_id"] = $_SESSION["businessapps"][0]["appid"];
...
@@ -49,6 +48,7 @@ $_SESSION["config"]["app_id"] = $_SESSION["businessapps"][0]["appid"];
require_once
(
"apps"
.
DIRECTORY_SEPARATOR
.
$_SESSION
[
"businessapps"
][
0
][
"appid"
]
.
DIRECTORY_SEPARATOR
.
"class"
.
DIRECTORY_SEPARATOR
.
"class_business_app_tools.php"
);
require_once
(
"apps"
.
DIRECTORY_SEPARATOR
.
$_SESSION
[
"businessapps"
][
0
][
"appid"
]
.
DIRECTORY_SEPARATOR
.
"class"
.
DIRECTORY_SEPARATOR
.
"class_business_app_tools.php"
);
$businessAppTools
=
new
business_app_tools
();
$businessAppTools
=
new
business_app_tools
();
$businessAppTools
->
build_business_app_config
();
$businessAppTools
->
build_business_app_config
();
$coreTools
->
load_modules_config
(
$_SESSION
[
'modules'
]);
//load webservice engine
//load webservice engine
$webService
=
new
webService
();
$webService
=
new
webService
();
//http Authentication
//http Authentication
...
@@ -59,7 +59,7 @@ if($webService->authentication()) {
...
@@ -59,7 +59,7 @@ if($webService->authentication()) {
$webService
->
WSModulesCatalog
();
$webService
->
WSModulesCatalog
();
$webService
->
WScustomCatalog
();
$webService
->
WScustomCatalog
();
//launch webservice engine
//launch webservice engine
$webService
->
launchWs
();
$webService
->
launchWs
();
}
else
{
}
else
{
header
(
"WWW-Authenticate: Basic realm=
\"
Maarch WebServer Engine
\"
"
);
header
(
"WWW-Authenticate: Basic realm=
\"
Maarch WebServer Engine
\"
"
);
if
(
preg_match
(
"/Microsoft/"
,
$_SERVER
[
"SERVER_SOFTWARE"
]))
{
if
(
preg_match
(
"/Microsoft/"
,
$_SERVER
[
"SERVER_SOFTWARE"
]))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment