-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
646f7f7
commit 4c046fe
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,17 @@ | |||
<?php | |||
|
|||
namespace om\Emergence; | |||
|
|||
use Site; | |||
|
|||
/** | |||
* Replace constructor to load table from VFS instead of local path | |||
*/ | |||
class IcalParser extends \om\IcalParser | |||
{ | |||
public function __construct() | |||
{ | |||
$node = Site::resolvePath('php-classes/om/WindowsTimezones.php'); | |||
$this->windowsTimezones = require($node->RealPath); // load Windows timezones from separate file | |||
} | |||
} |