distantnative / search-for-kirby

Kirby 3 plugin for adding a search index (sqlite or Algolia).
43 stars 3 forks source link

/vendor/autoload.php warning when installed with composer #8

Closed philipmarnef closed 4 years ago

philipmarnef commented 4 years ago

I installed the plugin with composer, which places the dependencies at root/vendor. The include in index.php points to __DIR__ . '/vendor/autoload.php' however, so I run into errors when I try to run the index build shell script.

philipmarnef commented 4 years ago

My bad, this is apparently how you support both composer and non-composer installs and the Kirby guide suggest suppressing not found errors with @include_once instead. So the other errors I'm seeing are unrelated to this, will post another issue.

distantnative commented 4 years ago

FYI: I’m planning for this weekend to work on another alpha version. I haven’t overlooked this issue.

distantnative commented 4 years ago

✅ Fixed in next alpha release (1.0.0-alpha.3)