resource.xml

This post refers to DotKernel 1, based on Zend Framework 1.
If you are looking for DotKernel 3 related posts, go here.

Beginning with the 1.3.0 release, resource.xml will no longer exist. Its content will be split into dots.xml and router.xml

The resource.xml file stores the resource settings. When talking about resources, we mean modules, dots and other items like the session. If you need more settings related to these resources, feel free to add them here.

resource.xml has the following settings:

  • controllers – the controller for the dots.
  • route – stores the default controller for the modules and the default action for the controllers.
  • session – each module has a different session name and a different session expire time.

resource.xml sample code:

 
 
     
     
	
		Page
		User
		Admin
		System
		User
	
 	
 		
		
			Page
			System
		
		
			
			
				home
				login
			
			
				account
				dashboard
				list
			
		
 	
	
	
		
			frontend
			864000
		
		
			admin
			864000
				
	
 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>