mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Replace the DOCUMENT_ROOT and PROJECT_ROOT variables
Use the __DIR__ constant and dirname as needed
This commit is contained in:
@@ -2457,7 +2457,7 @@ if (!function_exists('import_fonts')) {
|
||||
correctly.
|
||||
*/
|
||||
|
||||
$file = file_get_contents($_SERVER["DOCUMENT_ROOT"] . $file_to_parse);
|
||||
$file = file_get_contents(dirname(__DIR__, 1) . $file_to_parse);
|
||||
$lines = explode("\n", $file);
|
||||
|
||||
$style_counter = 0;
|
||||
|
||||
Reference in New Issue
Block a user