Russell Smith
1fcf0ca8a5
MDL-35628 performance: Remove dirname() where possible.
...
dirname() is a slow function compared with __DIR__ and using
'/../'. Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code. This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Petr Skoda
28bd3d9ad3
MDL-23824 CLI script improvements - just define('CLI_SCRIPT', true) before require config.php; all incorrect uses of cli and web scripts are detected; refactored cron script - now in two separate sctipts; fix cli inline docs and help - we have to sudo to apache account; standardised cli script locations in auth plugins
2010-08-17 12:33:30 +00:00
Petr Skoda
30f581598a
new php docs style
2010-07-30 11:14:36 +00:00
skodak
926378ce4d
MDL-15249 localized cli upgrade
2009-05-31 12:39:16 +00:00
skodak
71d549933b
MDL-15249 yet more localization fixes
2009-05-31 12:38:39 +00:00
skodak
57295c9224
MDL-15249 password reset cli script improvements
2009-05-31 12:34:08 +00:00
skodak
58ebe269fe
MDL-15249 password reset cli script improvements
2009-05-31 12:13:08 +00:00
skodak
1494616faa
MDL-15249 localization fixes
2009-05-31 12:04:51 +00:00
skodak
3b596dbf0b
MDL-15249 sample cli scripts - sample implementation only, no localization - ideally we should now decide what parameters we need - let the heated discussion begin ;-)
2009-05-27 09:52:25 +00:00