Commit 8727f5a9 by lmf

优化产品详情描述样式

parent 18dce526
......@@ -169,11 +169,17 @@
.joshine-desction .desction-info{
font-size: small;
}
.joshine-desction .desction-info p{
max-width: 400px;
word-wrap: break-word;
}
@media (min-width: 780px){
.joshine-desction #description{
max-height: 350px;
overflow: auto;
}
}
span.swatch-attribute-selected-option{
margin-left: 20px;
......
......@@ -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
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment