From a9ee0c54077cf7a1b35f64b4c3c5e9fbbe80e4af Mon Sep 17 00:00:00 2001 From: Jisse Reitsma Date: Tue, 12 Feb 2013 10:15:13 +0100 Subject: [PATCH] Used quotes for code --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 51db53a..6acda1f 100644 --- a/README.md +++ b/README.md @@ -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.