Merge pull request #1127 from SteveGilvarry/feature-h264-videostorage

Merging master to feature-h264-videostorage
This commit is contained in:
Steve Gilvarry 2015-10-28 08:36:49 +11:00
commit ef18714687
9 changed files with 15 additions and 14 deletions

View File

@ -10,7 +10,7 @@ SET @s = (SELECT IF(
FROM INFORMATION_SCHEMA.STATISTICS
WHERE table_name = 'Frames'
AND table_schema = DATABASE()
AND index_name='EventId_idx';
AND index_name = 'EventId_idx'
) > 0,
"SELECT 'EventId Index already exists on Frames table'",
"CREATE INDEX `EventId_idx` ON `Frames` (`EventId`)"

View File

@ -1,6 +1,6 @@
Alias /zm /usr/share/zoneminder
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder>
<Directory /usr/share/zoneminder/www>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>

View File

@ -1,6 +1,6 @@
Alias /zm /usr/share/zoneminder
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder>
<Directory /usr/share/zoneminder/www>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>

View File

@ -1,6 +1,6 @@
Alias /zm /usr/share/zoneminder
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder>
<Directory /usr/share/zoneminder/www>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>

View File

@ -1,6 +1,6 @@
Alias /zm /usr/share/zoneminder
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder>
<Directory /usr/share/zoneminder/www>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>

View File

@ -1,6 +1,6 @@
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder>
<Directory /usr/share/zoneminder/www>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>

View File

@ -1,6 +1,6 @@
Alias /zm /usr/share/zoneminder
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder>
<Directory /usr/share/zoneminder/www>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>

View File

@ -170,7 +170,7 @@ if ( $check && $Config{ZM_CHECK_FOR_UPDATES} )
if ( $Config{ZM_UPDATE_CHECK_PROXY} ) {
$ua->proxy( "http", $Config{ZM_UPDATE_CHECK_PROXY} );
}
my $req = HTTP::Request->new( GET=>'http://zoneminder.github.io/ZoneMinder/version.txt' );
my $req = HTTP::Request->new( GET=>'https://update.zoneminder.com/version.txt' );
my $res = $ua->request($req);
if ( $res->is_success )

View File

@ -30,5 +30,6 @@ ENDFOREACH(CBINARY zma zmc zmf zmu zmstreamer)
install(TARGETS zmc zma zmu zmf zmstreamer RUNTIME DESTINATION "${CMAKE_INSTALL_FULL_BINDIR}" PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
install(TARGETS zms RUNTIME DESTINATION "${ZM_CGIDIR}" PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
install(CODE "execute_process(COMMAND ln -sf zms nph-zms WORKING_DIRECTORY \"\$ENV{DESTDIR}${ZM_CGIDIR}\")")
install(CODE "execute_process(COMMAND ln -sf zms nph-zms WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})" )
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/nph-zms DESTINATION "${ZM_CGIDIR}")