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

HMVC #5

Open
wcervini opened this issue Jul 27, 2015 · 5 comments
Open

HMVC #5

wcervini opened this issue Jul 27, 2015 · 5 comments

Comments

@wcervini
Copy link

Create app, controller, views, or models, on CI-HMVC

@avenirer
Copy link
Owner

avenirer commented Sep 3, 2015

never thought of that. What would that entail? Is it only the location of the controllers, views, and models?

@ssavinel
Copy link

ssavinel commented Feb 1, 2016

Yes, they might be located in another folder for example application/modules/[module_name]/controllers.
The best idea IMHO would seem to add a migration folder inside a module, but as a module cannot know if it is the 2nd, 5th or 42nd migration, I've got no idea on when to apply the migration...

@opqclick
Copy link

i already installed matches cli via command (php bin/install.php matches-cli master) then i checked files location as the give directory patern from matches cli github repo.all files are located perfectly, then i changed my application/config/config.php file
$config['uri_protocol'] = 'REQUEST_URI';
to->
$config['uri_protocol'] = 'AUTO';
$config['uri_protocol'] = isset($_SERVER['REQUEST_URI']) ? 'PATH_INFO' : 'CLI';

but (php index.php matches) not working showing (Could not open input file: index.php).

m using (https://github.com/kenjis/codeigniter-composer-installer)

@avenirer
Copy link
Owner

when using cli, you must go to where the main index.php is (the one that instantiates CodeIgniter). and from there use matches.

@opqclick
Copy link

thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants