summaryrefslogtreecommitdiffstats
path: root/lib/general.lib.php
Commit message (Collapse)AuthorAgeFilesLines
* Don't reset the PHP memory_limit when it's -1Paul Arthur2013-05-151-1/+6
| | | | | This function is never supposed to lower the limit, and -1 is a flag value for no limit.
* Fix scrub_in to be saferPaul Arthur2013-02-071-1/+1
|
* Clean up PHP tests and reuse them in init.phpPaul Arthur2013-02-031-0/+49
| | | | | Also move the config-related functions out of debug.lib.php (why they were there in the first place is anyone's guess.)
* Fix sed errorPaul Arthur2013-01-261-2/+2
|
* Cosmetics: death to tabsPaul Arthur2013-01-261-131/+131
| | | | | The refactoring I've been doing has reminded me of my strong preference for spaces, and I feel inclined to impose my will on the tree.
* Move [un]format_bytes() from general.lib.php to UIPaul Arthur2013-01-261-50/+2
|
* Cosmetics: clean up heads in lib/Paul Arthur2013-01-251-7/+1
|
* Remove more code that only ran on PHP <5.3Paul Arthur2012-07-011-8/+1
|
* Clean up set_memory_limitPaul Arthur2012-07-011-7/+31
| | | | | | | ini_set should be passed an integer byte value; shorthand byte values should only be used in php.ini. It's bad to assume that values are always in megabytes; we could enforce it in our config file if we cared, but not in PHP's.
* escapeshellarg's behaviour is locale-dependentPaul Arthur2012-05-251-0/+14
| | | | Reimplement it locally so it isn't. Might fix FS#252.
* Use spl_autoload_register instead of __autoloadPaul Arthur2012-04-181-25/+0
| | | | | Might be useful in the future, __autoload is discouraged according to the PHP documentation.
* Switch from _() to T_()Paul Arthur2012-04-121-1/+1
| | | | | | Even if we move away from php-gettext in the future, it's easy to write a quick T_() as a simple wrapper; it's not so easy to rewrite PHP to allow redeclaration of a function.
* Clean up some PHPDoc crapPaul Arthur2011-04-041-7/+1
| | | | | | Remove misleading, unvetted, or in some cases just plain wrong data. Packages and categories weren't being used correctly. They still aren't.
* header comment modified for phpdocmomo-i2011-02-031-1/+9
|
* test header for phpdoc. now using only classes and libraries.momo-i2011-02-021-18/+21
|
* Use a function to format bytes -> human-readable sizes. Also bump catalog buildPaul 'flowerysong' Arthur2010-10-151-0/+23
| | | | memory profiling logging to level 5; fixes FS#141.
* Clean up general.lib.php and ui.lib.php: remove unused functions, group relatedPaul 'flowerysong' Arthur2010-06-131-246/+77
| | | | functions, simplify implementation of some functions.
* Remove some unused genre stuff.Paul 'flowerysong' Arthur2010-06-101-7/+0
|
* Remove unused function format_time.Paul 'flowerysong' Arthur2010-06-071-11/+0
|
* More changes to art - have not removed old functionality yetKarl 'vollmerk' Vollmer2010-03-211-1/+1
|
* Add vim modelines to all php files (Thx ascheel)Karl 'vollmerk' Vollmer2010-03-141-0/+1
|
* sync from 3.5.x and fix display issue on playlist viewKarl 'vollmerk' Vollmer2009-12-201-71/+0
|
* Replaced almost every dba::query to dba::read or dba::write.dipsol2009-12-141-2/+2
|
* Passwords can be shorter then asked. Changed the way its generated.dipsol2009-11-051-62/+62
|
* fixed #479 if PHP version is 5.3.0 or larger, don't use magic_quotes.momo-i2009-05-271-1/+2
|
* Update HTML header for RTL language.momo-i2009-05-061-0/+8
| | | | add debug_event for stream type check
* Added: lyrics get from getid3 (pls test by any mp3s)momo-i2009-02-241-0/+10
| | | | Added: debug_print function (pre tag for print_r)
* Updated: Norwegian into general.lib.phpmomo-i2009-02-191-0/+1
| | | | Added: Norwegian stat in LANGLIST
* slight tweak to dba class to try to make it a little more bullet proof, ↵Karl 'vollmerk' Vollmer2009-02-041-4/+15
| | | | commented added functions
* Added: checkdnsrr and getmxrr function for Winmomo-i2009-02-031-0/+50
|
* incomplete changes, commiting because I need a coding breakKarl 'vollmerk' Vollmer2009-02-011-102/+0
|
* changed the xmlrpc library to the pear xmlrpc library. Also fixed some other ↵dipsol2008-12-111-4/+4
| | | | litle things not worth mentioning.
* Updated language code list and Fixed catalan language codemomo-i2008-08-281-16/+46
|
* good number of changes to browse, this breaks more then it fixes...Karl 'vollmerk' Vollmer2008-08-131-1/+1
|
* sync from branchKarl 'vollmerk' Vollmer2008-07-261-1/+1
|
* sync from branchesKarl 'vollmerk' Vollmer2008-07-241-0/+1
|
* some rather major bug fixes, corrected a preference setting issue, as well ↵Karl 'vollmerk' Vollmer2008-05-101-1/+1
| | | | as a preference update issue, fixed infinite plugin installing for fun and profit, also fixed updating the config file not regenerating the version correctly and the user creation allowing users with blank password, which does not work at the login
* new flash player that still does not work, fixed some bad references to the ↵Karl 'vollmerk' Vollmer2008-04-111-4/+4
| | | | ellipsis thresholds
* force consistant charset on file add, add fix_filenames script and minor ↵Karl 'vollmerk' Vollmer2008-03-171-4/+4
| | | | tweak for democratic play
* added Greek translationKarl 'vollmerk' Vollmer2008-02-281-0/+2
|
* removed ip2int, int2ip custom functions fixed browse issues when adding ↵Karl 'vollmerk' Vollmer2008-02-281-24/+1
| | | | filters in specific order
* added in the rating images from greengeek, removed some useless functions, ↵Karl 'vollmerk' Vollmer2008-01-271-20/+0
| | | | tweaked working on update to correctly reflect limitations
* - Fixed search by rating (Thx alex2008)Karl 'vollmerk' Vollmer2008-01-131-4/+2
| | | | | - Fixed no result return on random methods - Added mime,language & lyrics to catalog updating functions
* Added support for mp3 files with special constant bitrate modeflashk2007-12-291-0/+6
|
* fixed API calls, cleaned up old functions that are no longer neededKarl 'vollmerk' Vollmer2007-12-231-38/+0
|
* fixed ajax requests with invalid session not causing logoutKarl 'vollmerk' Vollmer2007-12-101-62/+13
|
* database update, cleaned up some stuffKarl 'vollmerk' Vollmer2007-12-101-1/+12
|
* fixed advanced random, tweaked some css a tad and fixed a few other minor typosKarl 'vollmerk' Vollmer2007-08-271-128/+4
|
* licence updates, Thx porthoseKarl 'vollmerk' Vollmer2007-08-191-3/+2
|
* fixed album.disk for ogg files and added it to the displayKarl 'vollmerk' Vollmer2007-08-191-1/+1
|