-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclasses.php
41 lines (41 loc) · 942 Bytes
/
classes.php
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
<?php
/**
* Open Source Social Network
*
* @package Open Source Social Network (OSSN)
* @author OSSN Core Team <[email protected]>
* @copyright (C) OpenTeknik LLC
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/
$OssnClasses = array(
'DynamicCacheKeyNotExists',
'DynamicCaching',
'Memcached',
'Redis',
'Session',
'Factory',
'SiteException',
'DatabaseException',
'Base',
'Translit',
'Mail',
'Pagination',
'Database',
'Site',
'Entities',
'User',
'Object',
'Annotation',
'Themes',
'File',
'Components',
'Menu',
'Image',
'JWT',
);
foreach ($OssnClasses as $class) {
$loadClass['Ossn' . $class] = ossn_route()->classes . "Ossn{$class}.php";
}
$loadClass['MemoryCaching'] = ossn_route()->classes . 'interfaces/MemoryCaching.php';
ossn_register_class($loadClass);