Version 4.7.13

This commit is contained in:
Neo committed 2025-12-19 16:14:56 -08:00
1 parent fd22d99e69
commit 7124a02564
954 files changed
+29277 -59308

No files matched your search

+7 -5
View File
@@ -104,15 +104,17 @@ class _Hook extends \IPS\Patterns\ActiveRecord
/* Work out the contents */
$contents = str_replace(
array(
[
'{abstract}',
'{classname}',
),
array(
'{extended_class}',
],
[
$abstract,
$classname,
),
\file_get_contents( \IPS\ROOT_PATH . '/applications/core/data/defaults/Hook.txt' )
$hook->class
],
\file_get_contents( \IPS\ROOT_PATH . '/applications/core/data/defaults/Hook.txt' )
);
\file_put_contents( $hookDir . "/{$hook->filename}.php", $contents );