GithubHelp home page GithubHelp logo

codeigniter-matches-cli's People

Contributors

alexobreja avatar avenirer avatar codebrauer avatar zachflower avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

codeigniter-matches-cli's Issues

Classes created by create:app don’t match generated code

If you do this:

php index.php matches create:app foo

"foo_model" and "foo_view" are referenced in the generated Foo.php controller, but the file and class names created by the script are just "foo". So when you run the code you get a class conflict since you have two with the same name.

HMVC

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

config file uri_protocol config variable issue

As per docs, we should put below line under config.php after $config['uri_protocol'] = 'AUTO';

$config['uri_protocol'] = isset($_SERVER['REQUEST_URI']) ? 'PATH_INFO' : 'CLI';

However after generating model, view,controller with matches command "php index.php matches create app blog", i am not able to access generated method via web links like http://localhost/ci3new/blog

If i change config like below
$config['uri_protocol'] = isset($_SERVER['REQUEST_URI']) ? 'AUTO' : 'CLI';

It works perfectly fine.

Note:
I am on windows 8 64 bit, Apache and using below .htaccess under my new codeigniter project (Testing only).

RewriteEngine On RewriteBase /ci3new/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

No web access allowed

Hi,

I have downloaded fresh version of CI3-Dev and followed your provided installation steps and got below error while i ran "php index.php matches".

No web access allowed

I am on windows 8 64 bit.

No return carriage return at several message ends.

Problem:

Several message endings do not include a carriage return. This causes the message to line up with the command line prompt like so:

$ php index.php matches create:controller pages

Pages Controller already exists in the application/controllers directory. $ 

Fixing this should result in a cleaner representation of messages and the terminal prompt, like so:

$ php index.php matches create:controller pages

Pages Controller already exists in the application/controllers directory. 
$ 

Proposed resolution

Add the provided $this->_ret to the end of messages where this is missing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.