Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
X Lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
XLibs
X Lib
Commits
0384f319
Commit
0384f319
authored
Jul 16, 2017
by
Alex Ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Еще одна беда
parent
52dc50c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
EItem.php
ETrace/EItem.php
+12
-7
No files found.
ETrace/EItem.php
View file @
0384f319
...
@@ -142,13 +142,18 @@ class EItem extends \Exception {
...
@@ -142,13 +142,18 @@ class EItem extends \Exception {
* @return mixed
* @return mixed
*/
*/
private
function
calcHash
()
{
private
function
calcHash
()
{
$re_trace
=
array_map
(
function
(
$item
)
{
if
(
is_array
(
$this
->
Trace
()))
{
if
(
isset
(
$item
[
"file"
]))
{
$re_trace
=
array_map
(
function
(
$item
)
{
return
[
$item
[
"file"
],
$item
[
"line"
]];
if
(
isset
(
$item
[
"file"
]))
{
}
else
{
return
[
$item
[
"file"
],
$item
[
"line"
]];
return
[
"nofile"
,
"noline"
];
}
else
{
}
return
[
"nofile"
,
"noline"
];
},
$this
->
Trace
());
}
},
$this
->
Trace
());
}
else
{
$re_trace
=
[];
}
return
md5
(
serialize
([
return
md5
(
serialize
([
$this
->
object_name
,
$this
->
object_name
,
$this
->
host
,
$this
->
host
,
...
...
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