Commit Graph

7 Commits

Author SHA1 Message Date
Petr Skoda d42ba3d0af MDL-40949 admin: Fix $CFG->preventexecpath hints
This setting restricts all local paths, not just
executables.
2014-10-29 10:47:33 +13:00
Petr Skoda e22af76803 MDL-41593 admin: use default setting if preventexecpath active
This resolves problems when installing Moodle
and addons when preventexecpath active.

Please note the admin_setting_configfile is still
incorrectly restricted - this will be resolved by
MDL-40949.
2014-10-07 11:30:32 +13:00
Eloy Lafuente (stronk7) f500ff4e52 MDL-45221 Allow unit tests to pass under any OS
This commit gets rid of the old lib/tests/other/executable.php
file completely because it was only executable under unix OSs
and moves the check to be performed against some mimetex binaries
that are known to be executable and bundled with every installation.

Note this was discovered because the weekly rolling process changed
the execution permissions of the "fixture" file and, at the end
we decided to get rid of it completely, folowing the plan above.
2014-04-29 19:22:54 +02:00
Andrew Nicols 9cd7bb3764 MDL-45221 admin: configexecutable admin settings should only accept files 2014-04-28 12:21:21 +08:00
Petr Škoda 914499a340 MDL-36721 do not store passwords in config logs 2013-12-27 11:17:45 +08:00
Petr Škoda 05fb92e9dd MDL-39915 cleanup core_admintree_testcase 2013-07-27 11:11:09 +02:00
David Mudrák 77043fd6f6 MDL-38497 Add unit tests for the admin tree behaviour 2013-03-15 00:53:14 +01:00