Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix installer. Install meta.syncable tables as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Dec 18, 2013
1 parent bec749b commit d81bf00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/boot.conf/class.BootConfLoader.php
Expand Up @@ -152,7 +152,7 @@ public function applyInstallerForm($action, $httpVars, $fileVars)
));

// INSTALL ALL SQL TABLES
$sqlPlugs = array("conf.sql", "auth.sql", "feed.sql", "log.sql", "mq.sql");
$sqlPlugs = array("conf.sql", "auth.sql", "feed.sql", "log.sql", "mq.sql", "meta.syncable");
foreach ($sqlPlugs as $plugId) {
$plug = AJXP_PluginsService::findPluginById($plugId);
$plug->installSQLTables(array("SQL_DRIVER" => $data["STORAGE_TYPE"]["db_type"]));
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/boot.conf/manifest.xml
Expand Up @@ -68,7 +68,7 @@
</clientCallback>
<clientForm id="installer_form"><![CDATA[
<div id="installer_form" box_padding="0" box_resize="true" box_width="560" overlayStyle='{"backgroundColor":"white","opacity":10,"backgroundImage":"url(\"AJXP_THEME_FOLDER/images/grid_t.png\")"}' style="padding: 10px; overflow:auto; background-color: white;">
<img src="plugins/gui.ajax/PydioLogo250.png" style="display:block;">
<img src="plugins/gui.ajax/PydioLogo250.png" style="display:block;margin:0 auto;">
<div class="dialogLegend installerWelcome"> Thank you for installing Pydio!<br> This tool will make sure your new sharing platform is up and running in no time: browse through the various sections to set up the general behaviour of the application. You can fly over the fields labels with your mouse to get more information. <br>Are you ready ? <span id="start_button">Start wizard!</span></div>
<div id="the_form" style="display:none; margin:0 5px;"></div>
<div id="configuration_progress" class="dialogLegend installerWelcome" style="display:none; margin:0 5px;">
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/meta.syncable/class.ChangesTracker.php
Expand Up @@ -173,7 +173,7 @@ public function updateNodesIndex($oldNode = null, $newNode = null, $copy = false

public function installSQLTables($param)
{
$p = AJXP_Utils::cleanDibiDriverParameters($this->sqlDriver);
$p = AJXP_Utils::cleanDibiDriverParameters(isSet($param) && isSet($param["SQL_DRIVER"])?$param["SQL_DRIVER"]:$this->sqlDriver);
return AJXP_Utils::runCreateTablesQuery($p, $this->getBaseDir()."/create.sql");
}

Expand Down

0 comments on commit d81bf00

Please sign in to comment.