Created
January 29, 2020 10:24
-
-
Save cgi-caesar/269b6aabb38383062c4dd2bb3ba99dfe to your computer and use it in GitHub Desktop.
aMember (site.php): enable admin theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| Am_Di::getInstance()->viewPath = array_merge( | |
| Am_Di::getInstance()->viewPath, | |
| [APPLICATION_PATH . '/default/themes-admin/yourtheme'] | |
| ); | |
| $view = Am_Di::getInstance()->view; | |
| $css = $view->_scriptCss('theme.css'); | |
| $view->placeholder('head-finish-admin')->append(<<<CUT | |
| <link href="{$css}" media="screen" rel="stylesheet" type="text/css" > | |
| CUT | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment