First draft for plugins system

This commit is contained in:
Frederic Guillot
2015-09-13 14:07:56 -04:00
parent c405f99fc8
commit a6a00a0040
31 changed files with 626 additions and 237 deletions

View File

@@ -6,7 +6,17 @@ use PDO;
use Core\Security;
use Model\Link;
const VERSION = 66;
const VERSION = 67;
function version_67($pdo)
{
$pdo->exec("
CREATE TABLE plugin_schema_versions (
plugin VARCHAR(80) NOT NULL PRIMARY KEY,
version INTEGER NOT NULL DEFAULT 0
)
");
}
function version_66($pdo)
{