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
e21b6044
Verified
Commit
e21b6044
authored
5 years ago
by
Damien
Browse files
Options
Downloads
Patches
Plain Diff
FEAT #10633 TIME 0:15 Ozwillo uri fix
parent
82c5db30
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bin/external/ozwillo/OzwilloScript.php
+6
-6
6 additions, 6 deletions
bin/external/ozwillo/OzwilloScript.php
bin/external/ozwillo/config.xml
+8
-5
8 additions, 5 deletions
bin/external/ozwillo/config.xml
bin/external/ozwillo/ozwillo.sh
+1
-1
1 addition, 1 deletion
bin/external/ozwillo/ozwillo.sh
with
15 additions
and
12 deletions
bin/external/ozwillo/OzwilloScript.php
+
6
−
6
View file @
e21b6044
...
@@ -32,14 +32,14 @@ class OzwilloScript
...
@@ -32,14 +32,14 @@ class OzwilloScript
if
(
empty
(
$configuration
))
{
if
(
empty
(
$configuration
))
{
self
::
writeLog
([
'message'
=>
"[SEND_FILE] File bin/external/ozwillo/config.xml does not exist"
]);
self
::
writeLog
([
'message'
=>
"[SEND_FILE] File bin/external/ozwillo/config.xml does not exist"
]);
exit
();
exit
();
}
elseif
(
empty
(
$configuration
->
user
)
||
empty
(
$configuration
->
password
)
||
empty
(
$configuration
->
uri
)
||
empty
(
$configuration
->
triggerStatuses
->
sendFile
))
{
}
elseif
(
empty
(
$configuration
->
user
)
||
empty
(
$configuration
->
password
)
||
empty
(
$configuration
->
sendFile
->
uri
)
||
empty
(
$configuration
->
sendFile
->
status
))
{
self
::
writeLog
([
'message'
=>
"[SEND_FILE] File bin/external/ozwillo/config.xml is not filled enough"
]);
self
::
writeLog
([
'message'
=>
"[SEND_FILE] File bin/external/ozwillo/config.xml is not filled enough"
]);
exit
();
exit
();
}
}
$user
=
(
string
)
$configuration
->
user
;
$user
=
(
string
)
$configuration
->
user
;
$password
=
(
string
)
$configuration
->
password
;
$password
=
(
string
)
$configuration
->
password
;
$uri
=
(
string
)
$configuration
->
uri
;
$uri
=
(
string
)
$configuration
->
sendFile
->
uri
;
$status
=
(
string
)
$configuration
->
triggerStatuses
->
sendFile
;
$status
=
(
string
)
$configuration
->
sendFile
->
status
;
\SrcCore\models\DatabasePDO
::
reset
();
\SrcCore\models\DatabasePDO
::
reset
();
new
\SrcCore\models\DatabasePDO
([
'customId'
=>
$customId
]);
new
\SrcCore\models\DatabasePDO
([
'customId'
=>
$customId
]);
...
@@ -108,14 +108,14 @@ class OzwilloScript
...
@@ -108,14 +108,14 @@ class OzwilloScript
if
(
empty
(
$configuration
))
{
if
(
empty
(
$configuration
))
{
self
::
writeLog
([
'message'
=>
"[SEND_DATA] File bin/external/ozwillo/config.xml does not exist"
]);
self
::
writeLog
([
'message'
=>
"[SEND_DATA] File bin/external/ozwillo/config.xml does not exist"
]);
exit
();
exit
();
}
elseif
(
empty
(
$configuration
->
user
)
||
empty
(
$configuration
->
password
)
||
empty
(
$configuration
->
uri
)
||
empty
(
$configuration
->
triggerStatuses
->
sendData
))
{
}
elseif
(
empty
(
$configuration
->
user
)
||
empty
(
$configuration
->
password
)
||
empty
(
$configuration
->
sendData
->
uri
)
||
empty
(
$configuration
->
sendData
->
status
))
{
self
::
writeLog
([
'message'
=>
"[SEND_DATA] File bin/external/ozwillo/config.xml is not filled enough"
]);
self
::
writeLog
([
'message'
=>
"[SEND_DATA] File bin/external/ozwillo/config.xml is not filled enough"
]);
exit
();
exit
();
}
}
$user
=
(
string
)
$configuration
->
user
;
$user
=
(
string
)
$configuration
->
user
;
$password
=
(
string
)
$configuration
->
password
;
$password
=
(
string
)
$configuration
->
password
;
$uri
=
(
string
)
$configuration
->
uri
;
$uri
=
(
string
)
$configuration
->
sendData
->
uri
;
$status
=
(
string
)
$configuration
->
triggerStatuses
->
sendData
;
$status
=
(
string
)
$configuration
->
sendData
->
status
;
\SrcCore\models\DatabasePDO
::
reset
();
\SrcCore\models\DatabasePDO
::
reset
();
new
\SrcCore\models\DatabasePDO
([
'customId'
=>
$customId
]);
new
\SrcCore\models\DatabasePDO
([
'customId'
=>
$customId
]);
...
...
This diff is collapsed.
Click to expand it.
bin/external/ozwillo/config.xml
+
8
−
5
View file @
e21b6044
...
@@ -2,9 +2,12 @@
...
@@ -2,9 +2,12 @@
<ROOT>
<ROOT>
<user>
superadmin
</user>
<user>
superadmin
</user>
<password>
maarch
</password>
<password>
maarch
</password>
<uri></uri>
<sendFile>
<triggerStatuses>
<uri></uri>
<sendFile>
OZWILLOSF
</sendFile>
<status>
OZWILLOSF
</status>
<sendData>
OZWILLOSD
</sendData>
</sendFile>
</triggerStatuses>
<sendData>
<uri></uri>
<status>
OZWILLOSD
</status>
</sendData>
</ROOT>
</ROOT>
This diff is collapsed.
Click to expand it.
bin/external/ozwillo/ozwillo.sh
+
1
−
1
View file @
e21b6044
#!/bin/sh
#!/bin/sh
cd
/var/www/html/MaarchCourrier/bin/external/ozwillo/
cd
/var/www/html/MaarchCourrier/bin/external/ozwillo/
php OzwilloScript.php
--customId
php OzwilloScript.php
--customId
monCustom
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