Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
This commit is contained in:
commit
42ac3ceb3b
|
@ -336,7 +336,7 @@ SET @s = (SELECT IF(
|
||||||
AND column_name = 'Id'
|
AND column_name = 'Id'
|
||||||
) > 0,
|
) > 0,
|
||||||
"SELECT 'Column Id exists in States'",
|
"SELECT 'Column Id exists in States'",
|
||||||
"ALTER TABLE States ALTER Name DROP PRIMARY KEY;ALTER TABLE `States` ADD `Id` int(10) unsigned auto_increment NOT NULL PRIMARY KEY FIRST"
|
"ALTER TABLE States DROP PRIMARY KEY;ALTER TABLE `States` ADD `Id` int(10) unsigned auto_increment NOT NULL PRIMARY KEY FIRST"
|
||||||
));
|
));
|
||||||
|
|
||||||
PREPARE stmt FROM @s;
|
PREPARE stmt FROM @s;
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^$ app/webroot/ [L]
|
RewriteRule ^$ app/webroot/ [L]
|
||||||
RewriteRule (.*) app/webroot/$1 [L]
|
RewriteRule (.*) app/webroot/$1 [L]
|
||||||
|
RewriteBase /zm/api
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
Loading…
Reference in New Issue