1<?php
2
3define('SYNTAX_PLUGIN_SVG_PLUGINDIR',DOKU_PLUGIN.'svg/');
4define('SYNTAX_PLUGIN_SVG_MEDIADIR',DOKU_INC.'data/svg/');
5
6// attempt to include the install page
7@include_once( SYNTAX_PLUGIN_SVG_MEDIADIR . '.install.php' );
8
9// this would be defined on the install page
10if( !defined( 'SYNTAX_PLUGIN_SVG_INSTALLED' ) )
11{
12	require_once( SYNTAX_PLUGIN_SVG_PLUGINDIR . 'install.php' );
13
14	syntax_plugin_svg_install();
15}
16
17require_once( SYNTAX_PLUGIN_SVG_PLUGINDIR . 'svgparser.php' );
18
19global $syntax_plugin_svg_pcount;
20$syntax_plugin_svg_pcount = 0;
21
22?>
23