Skip to content

Installer copy() assumes wrongly #17

@Ema4rl

Description

@Ema4rl

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions