testing pear part two

From: Date: Sat, 01 Jun 2002 10:32:37 +0000
Subject: testing pear part two
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6695@lists.php.net to get a copy of this message
3. Auth/Auth_HTTP.php Auth_HTTP.php,v 1.5 2001/12/11 19:45:36 docs: - almost no documentation, but not much is needed. i think that example for this class should be the same as for Auth class - then the similarity is best shown 4. Benchmark/* no problems 5. Cache/Application.php Application.php,v 1.3 2002/05/23 14:18:40 strange things: - by default constructor is called with something like this: $container_options = array('cache_dir' => '/tmp/' inside. i was suprised - why isn`t session.save_path used in this case? this creates to much mess - i had session files in two different directories around my disk. 6. Cache/DB.php DB.php,v 1.3 2002/05/23 14:18:40 docs: - almost nothing. sweeping through code is needed strange things: - the same as above - array('cache_dir' => '.' in constructor default call - third place to store session data tests: - after 15 mins of fighting with silly problem (the same part of path of test file and Cache_DB class source - test file included itself :)) everything went ok 7. Cache/functions.php Function.php,v 1.3 2002/05/23 14:18:40 strange things: - why is file header positioned below examples? :) - cache dir again $container_options = array('cache_dir' => '.' 8. Cache/graphics.php Graphics.php,v 1.3 2002/05/23 14:18:42 strange things: - example is outdated - it is from earlier version of this class, name differs :) its easy to fix but can be confusing for begginers - typo in example: m5d instead of md5 - array('cache_dir' => $this->cache_dir again in constructor, but this time it should stay like that for security reasons - its better to create directory inside page dir than leting visitors to play around other temp files

« previous php.pear.dev (#6695) next »