This just popped out at me in new Amazon Web Services toolkit I am working with:
if ( file_exists( $path = '/path/to/file' ) ){
require_once( $path );
}
So tidy – define the throw-away variable inside the test for its existence. Very DRY.
Walter
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options