+
When using ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.'../includes;'); the PATH_SEPERATOR is a **:** in Linux and a **;** in Windows
When using ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.'../includes;'); the PATH_SEPERATOR is a : in Linux and a ; in Windows- if ( ! defined( "PATH_SEPARATOR" ) ) {
- if ( strpos( $_ENV[ "OS" ], "Win" ) !== false )
- define( "PATH_SEPARATOR", ";" );
- else define( "PATH_SEPARATOR", ":" );
- }
- ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.'../../includes');
- http://www.sitepoint.com/forums/showthread.php?t=537152
PHP,ini_set,include_path
✯
✯✯
✯✯
✯✯
✯✯
✯