Can I know the name of the project, in time of execution?
Can I know the name of the publication directory, in time of execution?
Thank you, sorry for the writing …
Can I know the name of the project, in time of execution?
Can I know the name of the publication directory, in time of execution?
Thank you, sorry for the writing …
Hi
The folders are in the $_SESSION variables generated by Scriptcase in each application ( just look at the top of the index.php file in an app folder and you’ll know )
below, myapplication must be replaced by the name of your application :
$_SESSION['scriptcase']['myapplication']['glo_nm_perfil'] = "";
$_SESSION['scriptcase']['myapplication']['glo_nm_path_prod'] = "/scriptcase/prod";
$_SESSION['scriptcase']['myapplication']['glo_nm_path_imagens'] = "/scriptcase/file/img";
$_SESSION['scriptcase']['myapplication']['glo_nm_path_imag_temp'] = "/scriptcase/tmp";
$_SESSION['scriptcase']['myapplication']['glo_nm_path_doc'] = "C:/Program Files/NetMake/v9/wwwroot/scriptcase/file/doc";
$_SESSION['scriptcase']['myapplication']['glo_nm_conexao'] = "conn_mysql";
This one may also help
$_SESSION['scriptcase']['SC_app_dir']
Project name is as well defined in $_SESSION :
$_SESSION['scriptcase']['SC_app_prj']
There are loads of information in these variables.
Thank you very much for the information…!