php - Are there codeigniter controller sub-directory limits? -


greetings,

i've encountered seemingly bizarre issue, , wondering if able shed light.

i created simple controller 2 levels down traditional /application/controllers/ directory , i'm seeing ci-generated 404 when hitting said controller.

to elaborate, directory structure follows: /ci/application/controllers/dir1/dir2/myfile.php

the file has simple function echo statement. when move said file 1 level such located in: /ci/application/controllers/dir1/myfile.php

it works.

i've tried changing name of "dir2" directory in example above, name of controller, names of functions within controller -- no avail. i'm able hit same php file without going through code igniter framework, , i'm on windows machine working can't imagine permissions-related issue.

i'm led think ci isn't willing go controllers directory more 1 level. is possible, or missing something?

"out of box", codeigniter supports single level directory structure controllers.

there ways extend default router class enable feature.


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -