當前位置: 首頁>>代碼示例>>PHP>>正文


PHP jApp::setTempBasePath方法代碼示例

本文整理匯總了PHP中jApp::setTempBasePath方法的典型用法代碼示例。如果您正苦於以下問題:PHP jApp::setTempBasePath方法的具體用法?PHP jApp::setTempBasePath怎麽用?PHP jApp::setTempBasePath使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在jApp的用法示例。


在下文中一共展示了jApp::setTempBasePath方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: realpath

<?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/') . '/');
開發者ID:brunonymous,項目名稱:bubux-php-scripts,代碼行數:13,代碼來源:application.init.php

示例2: initAppPaths

 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));
 }
開發者ID:CREASIG,項目名稱:lizmap-web-client,代碼行數:10,代碼來源:JelixScriptCommandConfig.class.php

示例3:

<?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/') . '/');
開發者ID:laurentj,項目名稱:lizmap-web-client,代碼行數:14,代碼來源:application.init.php

示例4: realpath

<?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/') . '/');
開發者ID:medali1990,項目名稱:medsite,代碼行數:13,代碼來源:application.init.php

示例5: dirname

<?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/') . '/');
開發者ID:havefnubb,項目名稱:havefnubb,代碼行數:15,代碼來源:application.init.php

示例6: realpath

<?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/') . '/');
開發者ID:aurellemeless,項目名稱:favoris,代碼行數:13,代碼來源:application.init.php

示例7: dirname

<?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/') . '/');
開發者ID:hadrienl,項目名稱:jelix,代碼行數:15,代碼來源:application.init.php


注:本文中的jApp::setTempBasePath方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。