CopyPastor

Detecting plagiarism made easy.

Score: -1; Reported for: Open both answers

Possible Plagiarism

Reposted on 2018-01-19

Original Post

Original - Posted on 2013-10-05



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Well,
Here what I did,
I edited/create ".htaccess" to this
RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
and "app/config/config.php"
$config['base_url'] = ''; $config['uri_protocol'] = 'AUTO';

and "app/libraries/Template.php"
define("PATH", base_url()."index.php/"); define("BASE", base_url());

Cheers!
Try the following
Open config.php and do following replaces
$config['index_page'] = "index.php" to
$config['index_page'] = ""

In some cases the default setting for `uri_protocol` does not work properly. Just replace
$config['uri_protocol'] ="AUTO"
by
$config['uri_protocol'] = "REQUEST_URI"
>HTACCESS
RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA]
> Change Found!
Note: .htaccess code vary depending on hosting server. In some hosting server (e.g.: Godaddy) need to use an extra ? in the last line of above code. The following line will be replaced with last line in applicable case:
// Replace last .htaccess line with this line RewriteRule ^(.*)$ index.php?/$1 [L,QSA]

        
Present in both answers; Present only in the new answer; Present only in the old answer;