Objective : make easier the changes of jelix lib framework for jelix application.
Every application entry like "myapp/www/index/php" have the following lines :
require_once ('../../lib/jelix/init.php');
require_once ('../application.init.php');
require_once (JELIX_LIB_CORE_PATH.'request/jClassicRequest.class.php');
$config_file = 'index/config.ini.php';
$jelix = new jCoordinator($config_file);
$jelix->process(new jClassicRequest());
I suggest to move the framework path dependancy to the main application.init.php file
which could start with :
require_once ('../lib/jelix/init.php');
# if ticket [http://developer.jelix.org/ticket/608] is accepted
# require_once ('../lib_jelix1.1-snap-20070529/jelix/init.php');
define ('JELIX_APP_PATH', dirname (__FILE__).DIRECTORY_SEPARATOR);
...
As a positive side effect, the script "jelix.php" will be able to use the "application.init.php" from the courant directory
(if it exists) as a Makefile to guess all appli configuration (obsédé!)... But it will be another ticket or
alternative jelix.php script to come later...