Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
737b9490
Commit
737b9490
authored
Jan 04, 2023
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复zend Loader.php 文件 下订单时报错问题
parent
ab93e7e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
vendor/magento/zendframework1/library/Zend/Loader.php
+10
-2
No files found.
vendor/magento/zendframework1/library/Zend/Loader.php
View file @
737b9490
...
...
@@ -177,19 +177,27 @@ class Zend_Loader
foreach
(
self
::
explodeIncludePath
()
as
$path
)
{
if
(
$path
==
'.'
)
{
if
(
is_readable
(
$filename
))
{
if
(
self
::
is_readable2
(
$filename
))
{
return
true
;
}
continue
;
}
$file
=
$path
.
'/'
.
$filename
;
if
(
is_readable
(
$file
))
{
if
(
self
::
is_readable2
(
$file
))
{
return
true
;
}
}
return
false
;
}
private
static
function
is_readable2
(
$filename
)
{
try
{
return
is_readable
(
$filename
);
}
catch
(
Exception
$ex
)
{
return
false
;
}
}
/**
* Explode an include path into an array
*
...
...
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