33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-25 03:36:00 +00:00

Used quotes for code

This commit is contained in:
Jisse Reitsma 2013-02-12 10:15:13 +01:00
parent 0335663a4d
commit a9ee0c5407

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.