Skip to content

Commit e0daf91

Browse files
Faryshtafeulf
authored andcommitted
whitespace
1 parent 70ee65b commit e0daf91

2 files changed

Lines changed: 36 additions & 45 deletions

File tree

config/directory.php

Lines changed: 36 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,43 @@
11
<?php
22

33
//-------------------------------------------------------------
4-
//
5-
// Directories
6-
//
4+
//Directories
75
//-------------------------------------------------------------
86

9-
// Base application directory
10-
$base_dir = getcwd() . "/";
11-
chdir( $base_dir );
12-
set_include_path($base_dir);
13-
14-
// base folder
15-
define( "BASE_DIR", $base_dir );
16-
define( "BASE_NAME", basename( $base_dir ) );
17-
18-
// base folders
19-
define( "SYSTEM_DIR", "system/" );
20-
define( "CONFIG_DIR", "config/" );
21-
define( "CACHE_DIR", "cache/" );
22-
define( "APPLICATION_DIR", "$app/" );
23-
define( "WEBSITE_DIR", "web/" );
24-
25-
// Rain folders
26-
define( "LIBRARY_DIR", "system/library/" );
27-
define( "LANGUAGE_DIR", "system/language/" );
28-
define( "CONSTANTS_DIR", "system/const/" );
29-
define( "LOG_DIR", "system/log/" );
30-
31-
// website folders
32-
define( "UPLOADS_DIR", "web/uploads/" );
33-
define( "JAVASCRIPT_DIR", "web/js/" );
34-
define( "CSS_DIR", "web/css/" );
35-
define( "IMAGES_DIR", "web/img/" );
36-
define( "JQUERY_DIR", "web/js/jquery/" );
37-
7+
// Base application directory
8+
$base_dir = getcwd() . "/";
9+
chdir($base_dir);
10+
set_include_path($base_dir);
11+
12+
// base folder
13+
define("BASE_DIR",$base_dir );
14+
define("BASE_NAME",basename( $base_dir ) );
15+
16+
// base folders
17+
define( "SYSTEM_DIR","system/" );
18+
define( "CONFIG_DIR","config/" );
19+
define( "CACHE_DIR", "cache/" );
20+
define( "APPLICATION_DIR", "$app/" );
21+
define( "WEBSITE_DIR", "web/" );
22+
23+
// Rain folders
24+
define( "LIBRARY_DIR", "system/library/" );
25+
define( "LANGUAGE_DIR", "system/language/" );
26+
define( "CONSTANTS_DIR", "system/const/" );
27+
define( "LOG_DIR", "system/log/" );
28+
29+
// website folders
30+
define( "UPLOADS_DIR", "web/uploads/" );
31+
define( "JAVASCRIPT_DIR", "web/js/" );
32+
define( "CSS_DIR", "web/css/" );
33+
define( "IMAGES_DIR", "web/img/" );
34+
define( "JQUERY_DIR", "web/js/jquery/" );
3835

39-
// web application folders
40-
define( "MODULES_DIR", "$app/modules/" );
41-
define( "TEMPLATES_DIR", "$app/templates/" );
36+
// web application folders
37+
define( "MODULES_DIR", "$app/modules/" );
38+
define( "TEMPLATES_DIR", "$app/templates/" );
4239

43-
// admin application folders
44-
define( "MODELS_DIR", "$app/models/" );
45-
define( "VIEWS_DIR", "$app/views/" );
46-
define( "CONTROLLERS_DIR", "$app/controllers/" );
47-
48-
49-
50-
// -- end
40+
// admin application folders
41+
define( "MODELS_DIR", "$app/models/" );
42+
define( "VIEWS_DIR", "$app/views/" );
43+
define( "CONTROLLERS_DIR", "$app/controllers/" );

index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,3 @@
1414
# Load the bootstrap
1515
#--------------------------------
1616
require_once "$app/bootstrap.php";
17-
18-
// -- end

0 commit comments

Comments
 (0)