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

(Available since DotKernel 1.3.0)

The dots.xml file stores a part of the global settings used by the dots. Its structure is similar with the xml files from configs/dots/ that store the settings for the current dots. This file is meant to be a bridge between multiple dots.
It will always be loaded, before any other xml file, so its values can be overwritten by the current xml dots file.

configs/dots.xml sample code:

<?xml version="1.0" encoding="utf-8"?>
<!-- This file is the default file used for config dots. 
Always dots.xml will be loaded, and it's value can be overwritten by the 
current xml dots file. -->
 	<variable option="global">
	<variable option="admin">
	<variable option="frontend">
		  <userPermission>You don't have enough credentials to access this url.</userPermission>

One Comment

  1. How to use Alerts in DotKernel | DotKernel PHP Application Framework

    […] If you’re not familiar with the dots.xml, you should see this article. […]

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>

This site uses Akismet to reduce spam. Learn how your comment data is processed.