本文整理汇总了PHP中Resources::output方法的典型用法代码示例。如果您正苦于以下问题:PHP Resources::output方法的具体用法?PHP Resources::output怎么用?PHP Resources::output使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Resources
的用法示例。
在下文中一共展示了Resources::output方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: define
define("PROJECT", "phpLiteAdmin");
define("VERSION", "1.9.7-dev");
define("PAGE", basename(__FILE__));
define("FORCETYPE", false);
//force the extension that will be used (set to false in almost all circumstances except debugging)
define("SYSTEMPASSWORD", $password);
// Makes things easier.
define('PROJECT_URL', 'https://bitbucket.org/phpliteadmin/public');
define('DONATE_URL', 'http://phpliteadmin.christosoft.de/donate.php');
define('VERSION_CHECK_URL', 'https://phpliteadmin.christosoft.de/current_version.php');
define('PROJECT_BUGTRACKER_LINK', '<a href="https://bitbucket.org/phpliteadmin/public/issues?status=new&status=open" target="_blank">https://bitbucket.org/phpliteadmin/public/issues?status=new&status=open</a>');
define('PROJECT_INSTALL_LINK', '<a href="https://bitbucket.org/phpliteadmin/public/wiki/Installation" target="_blank">https://bitbucket.org/phpliteadmin/public/wiki/Installation</a>');
// Resource output (css and javascript files)
// we get out of the main code as soon as possible, without inizializing the session
if (isset($_GET['resource'])) {
Resources::output($_GET['resource']);
exit;
}
// don't mess with this - required for the login session
ini_set('session.cookie_httponly', '1');
session_start();
if ($debug == true) {
ini_set("display_errors", 1);
error_reporting(E_STRICT | E_ALL);
} else {
@ini_set("display_errors", 0);
}
// start the timer to record page load time
$pageTimer = new MicroTimer();
// load language file
if ($language != 'en') {