Changeset 3138:fdc62ca291e0 for inc/dbschema/upgrade.php
- Timestamp:
- 11/17/15 13:22:52 (10 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/dbschema/upgrade.php
r3128 r3138 467 467 } 468 468 469 if (version_compare($version,'2.9','< '))469 if (version_compare($version,'2.9','<=')) 470 470 { 471 471 # Some new settings should be initialized, prepare db queries 472 472 $strReq = 'INSERT INTO '.$core->prefix.'setting'. 473 473 ' (setting_id,setting_ns,setting_value,setting_type,setting_label)'. 474 ' VALUES(\'%s\',\'system\',\'%s\',\'integer\',\'%s\')'; 475 $core->con->execute(sprintf($strReq,'media_video_width','400','Media video insertion width')); 476 $core->con->execute(sprintf($strReq,'media_video_height','300','Media video insertion height')); 474 ' VALUES(\'%s\',\'system\',\'%s\',\'%s\',\'%s\')'; 475 $core->con->execute( 476 sprintf($strReq,'media_video_width','400','integer','Media video insertion width')); 477 $core->con->execute( 478 sprintf($strReq,'media_video_height','300','integer','Media video insertion height')); 479 $core->con->execute( 480 sprintf($strReq,'media_flash_fallback','1','boolean','Flash player fallback for audio and video media')); 477 481 } 478 482
Note: See TracChangeset
for help on using the changeset viewer.