Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer copy() assumes wrongly #17

Open
Ema4rl opened this issue Aug 6, 2016 · 0 comments
Open

Installer copy() assumes wrongly #17

Ema4rl opened this issue Aug 6, 2016 · 0 comments

Comments

@Ema4rl
Copy link

Ema4rl commented Aug 6, 2016

This is an excerpt from the installer:

class Installer
{
    public static function install()
    {
        self::copy('vendor/kenjis/codeigniter-ss-twig/libraries/Twig.php', 'application/libraries/Twig.php');
    }
}

There has to be a way to pass the path to the install method so that it adjusts depending on the user set-up.

Below is an example of my usual set-up:
-- [CodeIgniter Base]
    -- .app/
      -- v1/
        -- (application files...)
      -- vendor/
        -- (composer vendor libraries...)
    -- .sys/
      -- (system files...)
    -- web/
      -- (public path; contains index.php)

@Ema4rl Ema4rl changed the title Installer copy assumes wrongly Installer copy() assumes wrongly Aug 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants