diff --git a/newznab/build/git-hooks/runHooks.php b/newznab/build/git-hooks/runHooks.php index 9523da9fe..955fbc7ba 100644 --- a/newznab/build/git-hooks/runHooks.php +++ b/newznab/build/git-hooks/runHooks.php @@ -66,7 +66,7 @@ if ($error === false) { } } } else { - echo "not 'dev', 'next-master', or 'master' branch, skipping version/patch updates\n"; + echo "not 'dev', 'dev-regexless', or 'master' branch, skipping version/patch updates\n"; } } else { echo "Error in pre-commit hooks!!\n"; diff --git a/newznab/utility/Versions.php b/newznab/utility/Versions.php index 8a18eff66..fca54af84 100644 --- a/newznab/utility/Versions.php +++ b/newznab/utility/Versions.php @@ -198,7 +198,7 @@ class Versions $options = [ 'data' => NN_RES . 'db' . DS . 'schema' . DS . 'data' . DS, 'ext' => 'sql', - 'path' => NN_RES . 'db' . DS . 'patches' . DS . 'mysql', + 'path' => NN_RES . 'db' . DS . 'patches' . DS, 'regex' => '#^' . Utility::PATH_REGEX . '(?P\d{4})~(?P\w+)\.sql$#', 'safe' => true,