Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Restrict access to controller
Post: RE: Restrict access to controller

Thank you! This is perfect for the job :) salain Wrote: (11-24-2016, 12:49 AM) -- You can use something like this in your __construct PHP Code: -- public function __construct()    {        i...
5,294 Views
5 Replies
11-25-2016, 02:33 AM
JackWhite
    Thread: Restrict access to controller
Post: RE: Restrict access to controller

I would like to restrict public access to it, but still be able to run it with a cron job.
5,294 Views
5 Replies
11-24-2016, 12:14 AM
JackWhite
    Thread: Restrict access to controller
Post: Restrict access to controller

Hello! I need to restrict access to a controller. I have tried placing a .htaccess file inside the controllers directory with code like this: Code: --  Order allow,deny  Deny from all ...
5,294 Views
5 Replies
11-23-2016, 04:35 AM
JackWhite
    Thread: Using URI Language Identifier
Post: RE: Using URI Language Identifier

salain Wrote: (09-07-2016, 06:52 AM) -- Have a look at this. Multi language with CodeIgniter (http://avenir.ro/create-cms-using-codeigniter-3/create-multilanguage-site-codeigniter/) -- Thanks for ...
2,139 Views
2 Replies
09-09-2016, 12:12 AM
JackWhite
  Shocked Thread: Using URI Language Identifier
Post: Using URI Language Identifier

Hello! Currently I'm trying to add multi language support for my website. I stumbled upon this URI Language Identifier (https://github.com/bcit-ci/CodeIgniter/wiki/URI-Language-Identifier), which ...
2,139 Views
2 Replies
09-07-2016, 06:08 AM
JackWhite
    Thread: Setting default language in config
Post: RE: Setting default language in config

Ok, I seem to have figured it out. In autoload.php I had set $autoload['language'] = array('english'); That's why it was trying to load english_lang.php. Thanks for your input guys!
12,644 Views
5 Replies
09-07-2016, 02:38 AM
JackWhite
    Thread: Setting default language in config
Post: RE: Setting default language in config

ciadmin Wrote: (09-06-2016, 06:32 AM) -- Have you copied the appropriate language folders from https://github.com/bcit-ci/codeigniter3-translations into your application/language folder? Code: --...
12,644 Views
5 Replies
09-06-2016, 06:39 AM
JackWhite
    Thread: Setting default language in config
Post: Setting default language in config

Hello! I'm using the latest CI version. Currently, I'm trying to set up multi language support for my website. In application/config/config.php the default $config['language'] is set to 'englis...
12,644 Views
5 Replies
09-06-2016, 04:54 AM
JackWhite

Theme © iAndrew 2016 - Forum software by © MyBB