mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 01:33:51 -04:00
rollback of r20469... see trac #161
This commit is contained in:
@@ -45,11 +45,6 @@ class Admin_View_Core extends View {
|
||||
return $absolute_url ? url::abs_file($arg) : url::file($arg);
|
||||
}
|
||||
|
||||
public function file($path) {
|
||||
$theme_path = "themes/{$this->theme_name}/$path";
|
||||
return url::file(file_exists($theme_path) ? $theme_path : $path);
|
||||
}
|
||||
|
||||
public function display($page_name, $view_class="View") {
|
||||
return new $view_class($page_name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user