Welcome Guest, Not a member yet? Register   Sign In
I have setup new CodeIgniter but i have getting this issue
#3

(09-17-2019, 10:07 AM)ciadmin Wrote: It looks like you have modified Common.php, as there is no "?" on line 924.
Which CI 4 version are you using, and which install method did you use?
You might want to post lines 920-930 of your Common.php

I have not any changed in common.php 

There is Code is


if (!function_exists('slash_item')) {
    //Unlike CI3, this function is placed here because
    //it's not a config, or part of a config.
    /**
    * Fetch a config file item with slash appended (if not empty)
    *
    * @param string $item Config item name
    *
    * @return string|null The configuration item or NULL if
    * the item doesn't exist
    */
    function slash_item(string $item): ?string
    {
        $config = config(App::class);
        $configItem = $config->{$item};

        if (!isset($configItem) || empty(trim($configItem))) {
            return $configItem;
        }

        return rtrim($configItem, '/') . '/';
    }
}


I have bold this string there is an issue is display
Reply


Messages In This Thread
RE: I have setup new CodeIgniter but i have getting this issue - by Dharmeshghadiya - 09-17-2019, 11:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB