Closed iandunn closed 7 years ago
👍
I highly recommend not symlinking, but rather loading from a proper file; e.g:
<?php
require __DIR__ . '/cavalcade/plugin.php';
It may be compatible with symlinks, but it certainly isn't tested to be so, and it has the potential to break. I'd be happy to add this script to the readme, not so much the symlink instructions though.
Works for me, I'll make that change tomorrow.
d543c5f swaps out the symlink command for a require_once
statement.
Fantastic, thanks!
This saves people from having to look through the
*.php
files to figure out which one is the bootstrap file. Most will probably guess that it'splugin.php
, but it doesn't hurt to remove any doubt.