Archive for September 10th, 2007
Monday, September 10th, 2007
Browsing the source code of Moodle:
layout is being done with a table! (index.php)
syncing with LDAP: auth/ldap/auth_ldap_sync_users.php (run as cron job, see info in file)
also for syncing with DB authentication in auth/db
in admin dir there is a dbperformance script -> check it out
Interesting: in some dirs there is documentation about TODOs ...
Posted in BrnDmp | No Comments »
Monday, September 10th, 2007
Optimization of LAMP applications; some tips stolen from the gallery2 documentation:
PHP:
Use a PHP Accelerator/Cache, recommended is eaccelerator among others. The Zend Optimizer is not a opCode cache and doesn't improve G2 performance very much. A true PHP cache can improve G2 performance dramatically. See: List of PHP accelerators.
Set ...
Posted in Web | No Comments »
Monday, September 10th, 2007
Couldn't get Hive integration in Moodle to work with external ip-address / url. I think that is because of the /etc/hosts file on the hive server. There it is set to an internal ip-address for license reasons and when you try to connect vi CIP the ip-addresses do not match ...
Posted in BrnDmp | No Comments »
Monday, September 10th, 2007
Client lost files in Moolde course; they were deleted. Copied back with rsync -av data1/5/ data2/3/ after testing rsync --dry-run -av showdata/5/ feconedata/3/
NOTE: backup strategy?
Posted in BrnDmp | No Comments »