Commit Graph

2 Commits (eb631fdcca6da4f10c846fe7745c9155cd30afd7)

Author SHA1 Message Date
cvargas e969a4161a merge 15 years ago
Ivan Tcholakov de0ec5ca3d Feature #306 - Line endigs cohrrence, Part 3: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 years ago
Ivan Tcholakov 08ec99208d Feature #306 - A rework of the function api_get_path(), essential moments are commented. The obsolete setting $GLOBALS['clarolineRepositorySys'] is not used by api_get_path() anymore. Support for the installation process has been added. Functionality has been upgraded with a mechanism for quering about specific "registered" resource files (scripts, players). Another upgrade is adding conversion between types of paths, i.e. between web absolute (WEB), system absolute (SYS), web semi-absolute (REL). Conversion is guaranteed for paths inside Dokeos. A formal test for api_get_path() has been developed. You may see it (there are lots of examples inside) by using URL similar to this one: http://localhost/dokeos/tests/main_api.lib.test_standalone.php . And a discovered mistake for mimetex configuration autodetectoin (a missing last slash) has been fixed (it seems to me there is another minor one - wrong processing URLs with port number, it will be fixed later). 15 years ago
Ivan Tcholakov d9e28e4439 Feature #306 - Moving the function rmdirr() into the main API file. 15 years ago
Ivan Tcholakov d007d59a99 Bug #5208 - SCORM courses: Fixing deletion of a SCORM course, based on the proposal by Christophe, see http://www.dokeos.com/forum/viewtopic.php?t=29673. The pesent solution works on Windows OS too. A new library file rmdirr.lib.php has been created (and revised), also, a formal test for this library file has been added. 15 years ago
Ivan Tcholakov c42ebb542d Issue #306 - Testing the multibyte string library, a correction in the tester has been done. 15 years ago
Ivan Tcholakov b76924e465 Issue #306 - The multibyte string library: Testing and corrections, a formal standalone test has been added. Two encodings are added for support. Improved logic to deal with encoding aliases. It seems that installed mbstring extension is not a mandatory requirement anymore. The php-extensions mbstring and iconv are optional: for speed or for supporting some exotic encodings. 15 years ago