Used quotes for code

This commit is contained in:
Jisse Reitsma 2013-02-12 10:15:13 +01:00
parent 0335663a4d
commit a9ee0c5407
1 changed files with 3 additions and 4 deletions

View File

@ -18,12 +18,11 @@ the upload-button. Once uploaded, the contents of the package (your files) will
Adding rules
------------
If you want to write a rule have a look a the library/rules folder.
If you want to write a rule have a look a the `administrator/components/com_jedchecker/library/rules` folder.
You just need to add a new file with your rule. Example:
yourrule.php
You just need to add a new file with your rule, for example `yourrule.php`.
"yourrule.php" needs to have a class jedcheckerRulesYourrule and that class needs to have a
The file `yourrule.php` needs to have a class `jedcheckerRulesYourrule` and that class needs to have a
function that accepts the basedir as parameter. This is all - the component will automatically call
your rule check function.