Skip to content

Commit ce9fa1e

Browse files
committed
Updates
1 parent 435b083 commit ce9fa1e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ The key thing to note when instantiating Channel Data is that you need to do 3 t
5353
2. Load the Channel Data driver from the package
5454
3. Tell Channel Data where the auto loader should look for your files.
5555

56+
5657
ee()->load->add_package_path(PATH_THIRD . 'your_addon_name');
57-
58+
5859
// Load the driver and directories at once
5960

6061
ee()->load->driver('ChannelData', array(
@@ -74,6 +75,7 @@ The key thing to note when instantiating Channel Data is that you need to do 3 t
7475
PATH_THIRD . 'your_addon_name/models/channels'
7576
));
7677

78+
7779
*Note, Channel Data is a CodeIgniter driver, not a library. You must load it using the `driver` method.*
7880

7981
----

0 commit comments

Comments
 (0)