Salve a tutti.
Ho questo problema:
//PATH_TRANSLATED is removed in SAPI version since PHP 5 or 4.3.2?? Don't use it for auto detection
//Important: Though DIRECTORY_SEPARATOR is always '\' under windows, $_SERVER variables are with '/' in some cases (in SAPI alone?). So fix it.
$slash = (stripos(php_sapi_name(), 'apache')!==false) ? '/' : DIRECTORY_SEPARATOR;
$CFG['site']['project_path'] = str_replace(
array('\\', 'common/', 'members/', 'admin/', 'cron/', 'rss/'),
array('/' , '' , '' , '' , '' , ''),
substr($_SERVER['SCRIPT_FILENAME'], 0, strrpos($_SERVER['SCRIPT_FILENAME'], $slash)+1)
);
$CFG['site']['project_path_relative'] = str_replace(
array('common/', 'members/', 'admin/'),
'',
substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/')+1)
);
come posso risolvere questo?
Important: Though DIRECTORY_SEPARATOR is always '\' under windows, $_SERVER variables are with '/' in some cases (in SAPI alone?). So fix it.
Premetto che non si tratta di joomla,ma la mia intenzione è quello di poterlo integrare