Skip to content

Commit 24d7baa

Browse files
committed
Change a comment
1 parent 5058570 commit 24d7baa

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

inc/conf.const.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,18 @@
99
namespace PH7\Doc;
1010
defined('PH7') or exit('Restricted access');
1111

12+
#################### VARIABLES ####################
13+
14+
15+
########## URL ##########
16+
1217
$sHttp = (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']=='on')) ? 'https://' : 'http://';
1318
$sPhp_self = dirname(htmlspecialchars($_SERVER['PHP_SELF']));
1419

15-
#################### URL ####################
20+
#################### CONSTANTS ####################
21+
22+
23+
########## URL ##########
1624

1725
define('SELF', (substr($sPhp_self,-1) !== '/') ? $sPhp_self . '/' : $sPhp_self);
1826
define('RELATIVE', SELF);
@@ -23,12 +31,12 @@
2331
define('ROOT_PATH', dirname(__DIR__) . '/');
2432
define('DATA_PATH', ROOT_PATH . 'data/');
2533

26-
#################### PATH ####################
34+
########## PATH ##########
2735

2836
define('ROOT_URL', PROT_URL . $_SERVER['HTTP_HOST'] . SELF);
2937
define('STATIC_URL', RELATIVE . 'static/');
3038

31-
#################### INFORMATION ####################
39+
########## INFORMATION ##########
3240

3341
define('SITE_NAME', 'pH');
3442
define('SITE_SLOGAN', 'Documentation');

0 commit comments

Comments
 (0)