Class include path is without 'apps/' prefix

This commit is contained in:
Bart Visscher
2012-12-06 11:32:03 +01:00
parent 5a83966274
commit f7ee606f31

View File

@@ -133,7 +133,7 @@ To add a class to the classloader, simply use something like this:
<?php
// loads the class MyClass from the file folder/myclass.php
\OC::$CLASSPATH['OCA\YourAppName\MyClass'] = 'apps/yourappname/folder/myclass.php';
\OC::$CLASSPATH['OCA\YourAppName\MyClass'] = 'yourappname/folder/myclass.php';
?>