"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "install/odm.php" between
opendocman-1.3.8-release.tar.gz and opendocman-1.4.0-release.tar.gz

About: OpenDocman is a document management system (DMS) designed to comply with ISO 17025 and OIE standard for document management (using PHP, MySQL).

odm.php  (opendocman-1.3.8-release):odm.php  (opendocman-1.4.0-release)
skipping to change at line 121 skipping to change at line 121
department smallint(6) unsigned default NULL, department smallint(6) unsigned default NULL,
default_rights tinyint(4) default NULL, default_rights tinyint(4) default NULL,
publishable tinyint(4) default NULL, publishable tinyint(4) default NULL,
reviewer int(11) unsigned default NULL, reviewer int(11) unsigned default NULL,
reviewer_comments varchar(255) default NULL, reviewer_comments varchar(255) default NULL,
PRIMARY KEY (id), PRIMARY KEY (id),
KEY data_idx (id,owner), KEY data_idx (id,owner),
KEY id (id), KEY id (id),
KEY id_2 (id), KEY id_2 (id),
KEY publishable (publishable), KEY publishable (publishable),
KEY description (description) KEY description (description(200))
) ENGINE = MYISAM"; ) ENGINE = MYISAM";
$stmt = $pdo->prepare($query); $stmt = $pdo->prepare($query);
$stmt->execute(); $stmt->execute();
// Department Table // Department Table
$query = "DROP TABLE IF EXISTS {$dbprefix}department"; $query = "DROP TABLE IF EXISTS {$dbprefix}department";
$stmt = $pdo->prepare($query); $stmt = $pdo->prepare($query);
$stmt->execute(); $stmt->execute();
$query = "CREATE TABLE {$dbprefix}department ( $query = "CREATE TABLE {$dbprefix}department (
skipping to change at line 317 skipping to change at line 317
$stmt->execute(); $stmt->execute();
// Create the settings table // Create the settings table
$query = "CREATE TABLE IF NOT EXISTS `{$dbprefix}settings` ( $query = "CREATE TABLE IF NOT EXISTS `{$dbprefix}settings` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT , `id` INT UNSIGNED NOT NULL AUTO_INCREMENT ,
`name` VARCHAR( 255 ) NOT NULL , `name` VARCHAR( 255 ) NOT NULL ,
`value` VARCHAR( 255 ) NOT NULL , `value` VARCHAR( 255 ) NOT NULL ,
`description` VARCHAR( 255 ) NOT NULL , `description` VARCHAR( 255 ) NOT NULL ,
`validation` VARCHAR( 255 ) NOT NULL , `validation` VARCHAR( 255 ) NOT NULL ,
PRIMARY KEY ( `id` ) , PRIMARY KEY ( `id` ) ,
UNIQUE ( `name` ) UNIQUE ( `name`(200))
) ENGINE = MYISAM"; ) ENGINE = MYISAM";
$stmt = $pdo->prepare($query); $stmt = $pdo->prepare($query);
$stmt->execute(); $stmt->execute();
// Populate the setttings table with default values // Populate the setttings table with default values
$sql_operations = array( $sql_operations = array(
"INSERT INTO `{$dbprefix}settings` VALUES(NULL, 'debug', 'False', '(True/False) - Default=False - Debug the installation (not working)', 'bool');", "INSERT INTO `{$dbprefix}settings` VALUES(NULL, 'debug', 'False', '(True/False) - Default=False - Debug the installation (not working)', 'bool');",
"INSERT INTO `{$dbprefix}settings` VALUES(NULL, 'demo', 'False', '(True/False) T his setting is for a demo installation, where random people will be all loggging in as the same username/password like \"demo/demo\". This will keep users from removing files, users, etc.', 'bool');", "INSERT INTO `{$dbprefix}settings` VALUES(NULL, 'demo', 'False', '(True/False) T his setting is for a demo installation, where random people will be all loggging in as the same username/password like \"demo/demo\". This will keep users from removing files, users, etc.', 'bool');",
"INSERT INTO `{$dbprefix}settings` VALUES(NULL, 'authen', 'mysql', '(Default = m ysql) Currently only MySQL authentication is supported', '');", "INSERT INTO `{$dbprefix}settings` VALUES(NULL, 'authen', 'mysql', '(Default = m ysql) Currently only MySQL authentication is supported', '');",
"INSERT INTO `{$dbprefix}settings` VALUES(NULL, 'title', 'Document Repository', 'This is the browser window title', 'maxsize=255');", "INSERT INTO `{$dbprefix}settings` VALUES(NULL, 'title', 'Document Repository', 'This is the browser window title', 'maxsize=255');",
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)