mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add class_exists
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
include "root.php";
|
||||
|
||||
//define the schema class
|
||||
if (!class_exists('schema')) {
|
||||
class schema {
|
||||
|
||||
//define variables
|
||||
@@ -873,8 +874,8 @@ include "root.php";
|
||||
//else if ($output == "return") {
|
||||
return $response;
|
||||
//}
|
||||
|
||||
} //end function
|
||||
}
|
||||
}
|
||||
|
||||
//example use
|
||||
|
||||
Reference in New Issue
Block a user