Use the SSI hook properly.
jdarwood007

jdarwood007 commited on 2019-02-23 08:47:35
Showing 1 changed files, with 2 additions and 2 deletions.


Fixes #106
... ...
@@ -90,7 +90,7 @@
90 90
 		<hook hook="integrate_profile_trackip" function="shd_profile_trackip" />
91 91
 
92 92
 			<!-- Other -->
93
-		<hook hook="integrate_SSI" function="$sourcedir/SimpleDesk-SSI.php" />
93
+		<hook hook="integrate_SSI" function="ssi_shd_called" file="$sourcedir/sd_source/SimpleDesk-SSI.php" />
94 94
 
95 95
 		<!-- database changes -->
96 96
 		<database>install-sd.php</database>
... ...
@@ -150,7 +150,7 @@
150 150
 		<hook hook="integrate_profile_trackip" function="shd_profile_trackip" reverse="true" />
151 151
 
152 152
 			<!-- Other -->
153
-		<hook hook="integrate_SSI" function="$sourcedir/SimpleDesk-SSI.php" reverse="true" />
153
+		<hook hook="integrate_SSI" function="ssi_shd_called" file="$sourcedir/sd_source/SimpleDesk-SSI.php" reverse="true" />
154 154
 
155 155
 		<!-- language files, removed -->
156 156
 		<remove-dir name="$themes_dir/default/languages/sd_language" />
157 157