-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathFrameWorkNotice
97 lines (69 loc) · 2.05 KB
/
FrameWorkNotice
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
APL Framework modificari.
1.
vendor\laravel\framework\src\Illuminate\View\FileViewFinder.php
135:
<<<
$paths = \Core\APL\Template::preparePaths($paths);
foreach ($paths as $path)
>>>
2.
vendor\laravel\framework\src\Illuminate\Support\helpers.php
1020:
<<<
if (!function_exists('res')) {
/**
* Generate an template path for the template.
*
* @param string $path
* @param bool $secure
* @return string
*/
function res($path) {
return (\Core\APL\Template::path($path));
}
}
if (!function_exists('humanFileSize')) {
function humanFileSize($size, $unit = "") {
if ((!$unit && $size >= 1 << 30) || $unit == "GB")
return number_format($size / (1 << 30), 2) . "GB";
if ((!$unit && $size >= 1 << 20) || $unit == "MB")
return number_format($size / (1 << 20), 2) . "MB";
if ((!$unit && $size >= 1 << 10) || $unit == "KB")
return number_format($size / (1 << 10), 2) . "KB";
return number_format($size) . " bytes";
}
}
if (!function_exists('areplace')) {
/**
* Return the given object. Useful for chaining.
*
* @param mixed $object
* @return mixed
*/
function areplace($array, $string, &$count = 0) {
foreach ($array as $find => $replace) {
$string = str_replace($find, $replace, $string, $q);
$count+=$q;
}
return $string;
}
}
if (!function_exists('dinamic_field')) {
/**
* Return the given object. Useful for chaining.
*
* @param mixed $object
* @return mixed
*/
function dinamic_field($field, $points = array()) {
if (isset($points['{value}']) && $field->value_filter) {
if (method_exists('DinamicFields', $field->value_filter))
$points['{value}'] = call_user_func(array('DinamicFields', $field->value_filter), $points['{value}']);
}
return areplace($points, $field->field_html);
}
}
>>>
3.
vendor\composer\autoload_classmap.php
frontend ---> ' . APP_FOLDER . '