Skip to content

Commit 745bf52

Browse files
authored
Add files via upload
1 parent 47b10ba commit 745bf52

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Sunphp/Lib/Configs/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class Config
1212
{
13-
const VERSION = '1.0.5';
13+
const VERSION = '1.1.5';
1414
const CONTROL_ADDRESS = 'Applications\\Controls\\';
1515
const TEMPLATE_ADDRESS = 'Applications\\Templates\\';
1616
public static $template = null;

Sunphp/Lib/Controls/TemplateControl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function display($name,$folder = '')
3737
try
3838
{
3939
if (is_file($template_file)) {
40-
require_once($template_file);
40+
require($template_file);
4141
return true;
4242
} else {
4343
throw new ControlException($template_file . " doesn't exist");

index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This is the call of the user demo sunphp entry
44
*/
5-
//error_reporting(E_ALL);
5+
//error_reporting(0);
66
use Sunphp\Sun;
77
require_once __DIR__ . '/Sunphp/Sun.php';
88
//Open to set the default template
@@ -18,4 +18,3 @@
1818

1919

2020

21-

0 commit comments

Comments
 (0)