Login page: /images or /assets now support custom override paths

Version 1.57.0


If you, for example, have a custom background.jpg, where the original lives at: - /assets: /usr/local/directadmin/data/templates/assets/background.jpg /usr/local/directadmin/data/skins/evolution/assets/img/background.jpg - /login_images: /usr/local/directadmin/data/skins/evolution/login_images/background.jpg /usr/local/directadmin/data/templates/login_images/background.jpg You can now create a file in a "custom" directory beside that file, eg: /usr/local/directadmin/data/templates/assets/custom/background.jpg where the call to: /assets/background.jpg will check for the existence of the assets/custom/background.jpg automatically and use it, if it exists. For paths with more levels thatn just within assets, say: /usr/local/directadmin/data/skins/evolutions/assets/css/login.css the custom path would be: /usr/local/directadmin/data/skins/evolutions/assets/css/custom/login.css where custom is inserted at the last level, as it's added dynamically from the last slash. ================== NOTES: 1) The original assets/background.jpg must exist in order for the custom file to be checked for. 2) To use the Evolution login page, use this in your directadmin.conf: docsroot=./data/skins/evolution demodocsroot=./data/skins/evolution

Interested to try DirectAdmin? Get a 30-day Free Trial!