Welcome Guest, Not a member yet? Register   Sign In
problem with PHP_SELF
#2

(This post was last modified: 11-06-2019, 09:36 PM by John_Betong.)

(11-06-2019, 07:39 PM)richb201 Wrote: I think I found the problem.

I see this variable being set:
PHP_SELF=/opt/project/app/index.php
                               ^
But this is not where my index.php is. It is in /opt/app/index.php. It seems that all the paths to my config files has that extra /project in them. 

Where is that path with the term "project" coming from?


CodeIgniter-3.1.11/system/core/Input.php:
  651: // Sanitize PHP_SELF
  652: $_SERVER['PHP_SELF'] = strip_tags($_SERVER['PHP_SELF']);


Edit:
Have you hard-coded the following variables?

CodeIgniter-3.1.11/application/config/config.php -> $config['base_url'] = '';
CodeIgniter-3.1.11/application/config/config.php -> $config['index_page'] = 'index.php';
Reply


Messages In This Thread
problem with PHP_SELF - by richb201 - 11-06-2019, 07:39 PM
RE: problem with PHP_SELF - by John_Betong - 11-06-2019, 09:31 PM
RE: problem with PHP_SELF - by richb201 - 11-07-2019, 12:57 AM
RE: problem with PHP_SELF - by siddhsoftware - 11-08-2019, 10:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB