File: phpliteadmin-build-template.php

package info (click to toggle)
phpliteadmin 1.9.8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,944 kB
  • sloc: php: 9,196; javascript: 211; makefile: 14
file content (35 lines) | stat: -rw-r--r-- 1,064 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
# Start with header information, default config and default language
# INCLUDE docs/header.txt | comment_lines
# INCLUDE phpliteadmin.config.sample.php
# INCLUDE languages/lang_en.php

# Append all class files
# INCLUDE classes/*.php

# Load the main phpLiteAdmin source file
# INCLUDE index.php

# Embed resources: embed file info this function, actual data below

// returns data from internal resources, available in single-file mode
function getInternalResource($res) {
	# EXPORT $resources

	if (isset($resources[$res]) && $f = fopen(__FILE__, 'r')) {
		fseek($f, __COMPILER_HALT_OFFSET__ + $resources[$res][0]);
		$data = fread($f, $resources[$res][1]);
		fclose($f);
		return $data;
	}
	return false;  
}

// resources embedded below, do not edit!
# Important: no semi-colon after the call to __halt_compiler, so the parser can consume
# the closing tag
__halt_compiler() ?>
# EMBED resources/phpliteadmin.css | minify_css
# EMBED resources/phpliteadmin.js | minify_js
# EMBED resources/favicon.ico | base64_encode