Log message for revision 67838: Added a favicon.ico to the standard root content.
Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/OFS/Application.py A Zope/trunk/lib/python/OFS/standard/favicon.ico -=- Modified: Zope/trunk/doc/CHANGES.txt =================================================================== --- Zope/trunk/doc/CHANGES.txt 2006-05-02 13:50:15 UTC (rev 67837) +++ Zope/trunk/doc/CHANGES.txt 2006-05-02 14:09:09 UTC (rev 67838) @@ -48,6 +48,7 @@ - Using FastCGI is offically deprecated. Features added + - There is now a default favicon.ico. - Experimental WSGI and Twisted support for http. Zope now has a WSGI interface for integration with other Modified: Zope/trunk/lib/python/OFS/Application.py =================================================================== --- Zope/trunk/lib/python/OFS/Application.py 2006-05-02 13:50:15 UTC (rev 67837) +++ Zope/trunk/lib/python/OFS/Application.py 2006-05-02 14:09:09 UTC (rev 67838) @@ -891,6 +891,11 @@ continue app.manage_addProduct['PageTemplates'].manage_addPageTemplate( id=fn, title='', text=open(ob.filename)) + elif ext in ('.ico', '.gif', '.png'): + if hasattr(app, fn): + continue + app.manage_addProduct['OFSP'].manage_addImage( + id=fn, title='', file=open(os.path.join(std_dir, fn))) else: continue wrote = 1 Added: Zope/trunk/lib/python/OFS/standard/favicon.ico =================================================================== (Binary files differ) Property changes on: Zope/trunk/lib/python/OFS/standard/favicon.ico ___________________________________________________________________ Name: svn:mime-type + application/octet-stream _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins