1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-06 11:59:56 +02:00
Commit graph

6 commits

Author SHA1 Message Date
Paul Arthur
4818baade2 Rename localplay.abstract.php
The actual class name is localplay_controller, the filename should
reflect that.
2013-01-15 01:26:38 -05:00
Paul Arthur
cad8d6ac86 web_path cleanup
force_ssl was broken, should be fixed now.
2012-07-11 14:37:11 -04:00
Paul Arthur
5f2f81fa8f Use spl_autoload_register instead of __autoload
Might be useful in the future, __autoload is discouraged according to
the PHP documentation.
2012-04-18 00:54:54 -04:00
Paul Arthur
5a9fba98ce Clean up gettext initialisation
Doesn't need all the conditionals. Switch to using the wrapper library.
2012-04-12 21:13:29 -04:00
Paul Arthur
fc81208797 Replace unclearly-sourced gettext emulator
php-gettext is niftier. With its autoemulation we can use native
gettext if the locale support is set up properly, or automatically
fall back to emulated if not. This should address many of the issues
people run into when trying to use different interface languages.
2012-04-12 21:13:29 -04:00
Paul Arthur
fe5d18095e Refactor similar init code into new init-tiny.php
Several places were doing operations that were practically the same
(loading core libraries and setting some variables), with varying
levels of success in remembering to do the right things in the right
order. Making a separate minimal init.php that doesn't worry about
some of the sanity checks and session bumpf makes this cleaner and
easier to maintain.
2012-03-13 17:57:07 -04:00