Skip to content

Commit 348977c

Browse files
committed
updating local files
0 parents  commit 348977c

File tree

3,032 files changed

+675218
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,032 files changed

+675218
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
examples/tmp

LICENSE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
This is **multi-licensed**. You may choose to use it under **one of the following licenses**:
2+
3+
- **BSD 3-Clause License** or
4+
- **Apache License 2.0** or
5+
- **GNU LGPL v3** or
6+
- **[HLNC License](http://bloxtor.com/LICENSE_HLNC.md)**
7+
8+
Select the license that best fits your needs.
9+
10+
**This is 100% open to your needs!**
11+
12+
© 2025 [Bloxtor](http://bloxtor.com) and [Joao Pinto](http://jplpinto.com)

README.md

Lines changed: 371 additions & 0 deletions
Large diffs are not rendered by default.

examples/config.php

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?php
2+
/*
3+
* Copyright (c) 2025 Bloxtor (http://bloxtor.com) and Joao Pinto (http://jplpinto.com)
4+
*
5+
* Multi-licensed: BSD 3-Clause | Apache 2.0 | GNU LGPL v3 | HLNC License (http://bloxtor.com/LICENSE_HLNC.md)
6+
* Choose one license that best fits your needs.
7+
*
8+
* Original PHP to Workflow Diagram Repo: https://github.com/a19836/phptoworkflowdiagram/
9+
* Original Bloxtor Repo: https://github.com/a19836/bloxtor
10+
*
11+
* YOU ARE NOT AUTHORIZED TO MODIFY OR REMOVE ANY PART OF THIS NOTICE!
12+
*/
13+
14+
include_once dirname(__DIR__) . "/lib/app.php";
15+
16+
//SET SOME STYLING
17+
$style = '<style>
18+
h1 {margin-bottom:0; text-align:center;}
19+
h3 {font-size:1.4em; margin:40px 0 0; font-weight:bold;}
20+
h4 {font-size:1.2em; margin:40px 0 0; font-weight:bold;}
21+
h5 {font-size:1em; margin:40px 0 0; font-weight:bold;}
22+
p {margin:0 0 20px; text-align:center;}
23+
24+
.note {text-align:center;}
25+
.note span {text-align:center; margin:0 20px 20px; padding:10px; color:#aaa; border:1px solid #ccc; background:#eee; display:inline-block; border-radius:3px;}
26+
27+
.error {margin:20px 0; text-align:center; color:red;}
28+
29+
.code {display:block; margin:10px 0; padding:0; background:#eee; border:1px solid #ccc; border-radius:3px; position:relative;}
30+
.code:before {content:"php"; position:absolute; top:5px; left:5px; display:block; font-size:80%; opacity:.5;}
31+
.code.xml:before {content:"xml";}
32+
.code textarea {width:100%; height:300px; padding:30px 10px 10px; display:inline-block; background:transparent; border:0; resize:vertical; font-family:monospace;}
33+
.code.short textarea {height:160px;}
34+
</style>';
35+
36+
$tmp_folder = __DIR__ . "/tmp/";
37+
$cache_folder_path = $tmp_folder . "cache/";
38+
$webroot_cache_folder_path = $tmp_folder . "public/";
39+
$webroot_cache_folder_url = getCurrentUrl() . "tmp/public/";
40+
41+
function getCurrentUrl() {
42+
$protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? "https://" : "http://";
43+
$host = $_SERVER['HTTP_HOST'];
44+
$request = $_SERVER['REQUEST_URI'];
45+
46+
return $protocol . $host . $request;
47+
}
48+
?>

0 commit comments

Comments
 (0)