Commits

wiredesignz  committed 868e975

Update readme.md

  • Participants
  • Parent commits 5bafc30
  • Branches default

Comments (0)

Files changed (1)

 Models and libraries can also be loaded from sub-directories in their respective application directories.
 
 When using form validation with MX you will need to extend the CI_Form_validation class as shown below, 
-before assigning the current controller as the $CI variable to the form_validation library. 
-This will allow your callback methods to function properly. (This has been discussed on the CI forums also). ie:
-	
+
 	:::php
 	<?php
 	/** application/libraries/MY_Form_validation **/ 
 	{
 		public $CI;
 	}
-	:::
 
+before assigning the current controller as the $CI variable to the form_validation library. 
+This will allow your callback methods to function properly. (This has been discussed on the CI forums also).
+	
 	:::php
 	<?php
 	class Xyz extends MX_Controller