Minor coding style modifications.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
This commit is contained in:
parent
d4330b47e3
commit
c13aaed8af
@ -323,14 +323,14 @@ class PMA_Theme
|
||||
{
|
||||
if (is_null($file)) {
|
||||
return $this->img_path;
|
||||
} else {
|
||||
if (is_readable($this->img_path . $file)) {
|
||||
return $this->img_path . $file;
|
||||
} else {
|
||||
return $GLOBALS['cfg']['ThemePath'] . '/'
|
||||
. PMA_Theme_Manager::FALLBACK_THEME . '/img/' . $file;
|
||||
}
|
||||
}
|
||||
|
||||
if (is_readable($this->img_path . $file)) {
|
||||
return $this->img_path . $file;
|
||||
}
|
||||
|
||||
return $GLOBALS['cfg']['ThemePath'] . '/'
|
||||
. PMA_Theme_Manager::FALLBACK_THEME . '/img/' . $file;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user