Ticket #42 (defect)

Opened 2 years ago

Last modified 1 year ago

hardcoded index.php to remove

Status: closed (fixed)

Reported by: grahack Assigned to: grahack
Priority: major Milestone:
Component: core Version: 1.0.4
Keywords: Cc:

found some hardcoded index.php

we have to use

site_url($ci_uri)

I suggest

$config['base_url'] = site_url('admin/admins');
$config['base_url'] = site_url('admin/users');
<input type="button" name="back" class="submit" value="back" onclick="location.href = '<?=site_url('admin/'.$controller)?>'"/>

Change History

05/16/07 12:47:59: Modified by grahack

  • status changed from new to assigned.
  • owner changed from danfreak to grahack.

05/16/07 19:33:50: Modified by danfreak

Please...do a few tests before proceding both with mod_rewrite and without

05/22/07 14:08:57: Modified by grahack

  • status changed from assigned to closed.
  • resolution set to fixed.

fixed in [242]

note: we can't use site_url() because of the url_suffix

the generated link is http://127.0.0.1/index.php/admin/users.html/2

see this thread

05/22/07 14:10:15: Modified by grahack

little correction:

note: we can't use site_url() for the pagination base_urlbecause of the url_suffix

06/27/07 08:23:29: Modified by

  • milestone deleted.

Milestone 1.0.5 deleted