GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

  • Evan Prodromou's avatar
    Restructure theme.php to define a class Theme · b7e2e3fd
    Evan Prodromou authored
    For various reasons, it's nicer to have a class for theme-file paths
    and such. So, I've rewritten the code for determining the locations of
    theme files to be more OOPy.
    
    I changed all the uses of the two functions in the module (theme_file
    and theme_path) to use Theme::file and Theme::path respectively.
    
    I've also removed the code in common.php that require's the module;
    using a class means we can autoload it instead.
    b7e2e3fd
Avatar.php 3.04 KB