| 1 |
<?php |
| 2 |
// Load tickets. |
| 3 |
foreach ( glob( __DIR__ . '/tickets/*.php' ) as $filename ) { |
| 4 |
include_once $filename; |
| 5 |
} |
| 6 |
|
| 7 |
// Load agent settings. |
| 8 |
foreach ( glob( __DIR__ . '/agent-settings/*.php' ) as $filename ) { |
| 9 |
include_once $filename; |
| 10 |
} |
| 11 |
|
| 12 |
// Load ticket form settings. |
| 13 |
foreach ( glob( __DIR__ . '/custom-fields/*.php' ) as $filename ) { |
| 14 |
include_once $filename; |
| 15 |
} |
| 16 |
|
| 17 |
// Load ticket list settings. |
| 18 |
foreach ( glob( __DIR__ . '/ticket-list/*.php' ) as $filename ) { |
| 19 |
include_once $filename; |
| 20 |
} |
| 21 |
|
| 22 |
// Load email notification settings. |
| 23 |
foreach ( glob( __DIR__ . '/email-notifications/*.php' ) as $filename ) { |
| 24 |
include_once $filename; |
| 25 |
} |
| 26 |
|
| 27 |
// Load settings. |
| 28 |
foreach ( glob( __DIR__ . '/settings/*.php' ) as $filename ) { |
| 29 |
include_once $filename; |
| 30 |
} |
| 31 |
|
| 32 |
// Miscellaneous classes. |
| 33 |
foreach ( glob( __DIR__ . '/misc/*.php' ) as $filename ) { |
| 34 |
include_once $filename; |
| 35 |
} |
| 36 |
|
| 37 |
// Recent activites classes. |
| 38 |
foreach ( glob( __DIR__ . '/recent-activities/*.php' ) as $filename ) { |
| 39 |
include_once $filename; |
| 40 |
} |
| 41 |
|
| 42 |
// Customer classes. |
| 43 |
foreach ( glob( __DIR__ . '/customers/*.php' ) as $filename ) { |
| 44 |
include_once $filename; |
| 45 |
} |
| 46 |
|