Update gridclasskey.plugin.php

fix error when creating a document in the root of the site