Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
<?xml version="1.0" encoding="UTF-8"?> <ae:configurations xmlns="http://agavi.org/agavi/config/parts/autoload/1.0" xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" parent="%core.system_config_dir%/autoload.xml"> <xi:include href="%app.global_libraries_dir%/SOMELIB/autoload.xml" xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0) xpointer(/ae:configurations/ae:*)"> <!-- SOMELIB (use <fallback /> if you like to specify fallback elements in casse xinclude fails) --> </xi:include> <ae:configuration> <!-- our own --> <autoload name="SomeProjectBaseAction">%core.lib_dir%/action/SomeProjectBaseAction.class.php</autoload> <autoload name="SomeProjectBaseView">%core.lib_dir%/view/SomeProjectBaseView.class.php</autoload> <!-- some others --> <autoload name="SomeClassName">%app.global_libraries_dir%/SOME_OTHER/path/to/SomeClassName.class.php</autoload> </ae:configuration> </ae:configurations>
This paste will be private.
From the Design Piracy series on my blog: