Skip to content

namespace error in centos7 #959

Description

@jinmarcus

namespace error in centos7

environment: centos7 + php7

in windows is ok, but in centos7 is wrong

code is

<?php namespace App\Controllers\category;

class Product extends Controller
{
	public function index()
	{
		echo 'test';
	}
}

url is

http://www.xxxx.com/category/product

file path is

/ci4/application/Controllers/category/Product.php

result is

404 - File Not Found
HTTP.pageNotFound

@lonnieezell

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions