<?php /** * @package amigatlk * @subpackage * @author your name * @copyright 2011 your name * @link http://www.yourwebsite.undefined * @license All rights reserved */ require realpath(__DIR__ . '/../lib/jelix/') . '/' . 'init.php'; jApp::initPaths(__DIR__ . '/', __DIR__ . '/www/', __DIR__ . '/var/', __DIR__ . '/var/log/', __DIR__ . '/var/config/', __DIR__ . '/scripts/'); jApp::setTempBasePath(realpath(__DIR__ . '/../temp/amigatlk/') . '/');
function initAppPaths($applicationDir) { $applicationDir = rtrim($applicationDir, '/'); $applicationDir = rtrim($applicationDir, '\\'); $appname = basename($applicationDir); $search = array('%appdir%', '%appname%'); $replace = array($applicationDir, $appname); jApp::initPaths($applicationDir . '/', str_replace($search, $replace, $this->layoutWwwPath), str_replace($search, $replace, $this->layoutVarPath), str_replace($search, $replace, $this->layoutLogPath), str_replace($search, $replace, $this->layoutConfigPath), str_replace($search, $replace, $this->layoutScriptsPath)); jApp::setTempBasePath(str_replace($search, $replace, $this->layoutTempPath)); }
<?php /** * @package lizmap * @subpackage * @author 3liz * @copyright 2011 3liz * @link http://3liz.com * @license Mozilla Public License : http://www.mozilla.org/MPL/ */ $appPath = __DIR__ . '/'; require $appPath . '../lib/jelix/init.php'; jApp::initPaths($appPath); jApp::setTempBasePath(realpath($appPath . '../temp/lizmap/') . '/');
<?php /** * @package medsite * @subpackage * @author your name * @copyright 2011 your name * @link http://www.yourwebsite.undefined * @license All rights reserved */ require realpath(__DIR__ . '/../lib/jelix/') . '/' . 'init.php'; jApp::initPaths(__DIR__ . '/', __DIR__ . '/www/', __DIR__ . '/var/', __DIR__ . '/var/log/', __DIR__ . '/var/config/', __DIR__ . '/scripts/'); jApp::setTempBasePath(realpath(__DIR__ . '/../temp/medsite/') . '/');
<?php /** * @package havefnubb * @subpackage havefnubb * @author FoxMaSk * @contributor Laurentj * @copyright 2008-2011 FoxMaSk, 2012 Laurentj * @link http://havefnubb.org * @licence http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file */ $appPath = dirname(__FILE__) . '/'; require $appPath . '../lib/jelix/init.php'; jApp::initPaths($appPath, realpath($appPath . '../') . DIRECTORY_SEPARATOR, $appPath . 'var/' . DIRECTORY_SEPARATOR, $appPath . 'var/log/' . DIRECTORY_SEPARATOR, $appPath . 'var/config/' . DIRECTORY_SEPARATOR, $appPath . 'scripts/' . DIRECTORY_SEPARATOR); jApp::setTempBasePath(realpath($appPath . '../temp/havefnubb/') . '/');
<?php /** * @package BOS * @subpackage * @author Aurelle Meless * @copyright 2011 BOS * @link http://www.yourwebsite.undefined * @license All rights reserved */ require realpath(__DIR__ . '/../lib/jelix/') . '/' . 'init.php'; jApp::initPaths(__DIR__ . '/', __DIR__ . '/www/', __DIR__ . '/var/', __DIR__ . '/var/log/', __DIR__ . '/var/config/', __DIR__ . '/scripts/'); jApp::setTempBasePath(realpath(__DIR__ . '/../temp/manager/') . '/');
<?php /** * @package jelix * @subpackage testapp * @author Laurent Jouanneau * @contributor * @copyright 2005-2011 Laurent Jouanneau * @link http://www.jelix.org * @licence http://www.gnu.org/licenses/gpl.html GNU General Public Licence, see LICENCE file */ $appPath = dirname(__FILE__) . '/'; require $appPath . '../lib/jelix/init.php'; jApp::initPaths($appPath); jApp::setTempBasePath(realpath($appPath . '../temp/testapp/') . '/');