Merge branch 'master' of github.com:shish/shimmie2
This commit is contained in:
commit
cf7d1dded5
@ -52,6 +52,11 @@ The rest should be automatic, just unzip into a clean folder and copy across
|
|||||||
config.php, images and thumbs folders from the old version. This
|
config.php, images and thumbs folders from the old version. This
|
||||||
includes automatically messing with the database -- back it up first!
|
includes automatically messing with the database -- back it up first!
|
||||||
|
|
||||||
|
If there are any errors with the upgrade process, "in_upgrade=true" will
|
||||||
|
be left in the config table and the process will be paused for the admin
|
||||||
|
to investigate. Deleting this config entry and refreshing the page should
|
||||||
|
continue the upgrade from where it left off.
|
||||||
|
|
||||||
|
|
||||||
Upgrade from earlier versions
|
Upgrade from earlier versions
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -63,7 +68,6 @@ enough to be a pain.
|
|||||||
|
|
||||||
Custom Configuration
|
Custom Configuration
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Various aspects of Shimmie can be configured to suit your site specific
|
Various aspects of Shimmie can be configured to suit your site specific
|
||||||
needs via the file "config.php" (created after installation).
|
needs via the file "config.php" (created after installation).
|
||||||
Take a look at "core/default_config.inc.php" for the available options
|
Take a look at "core/default_config.inc.php" for the available options
|
||||||
|
@ -44,7 +44,7 @@ class Upgrade extends Extension {
|
|||||||
$tables = $database->get_col("SHOW TABLES");
|
$tables = $database->get_col("SHOW TABLES");
|
||||||
foreach($tables as $table) {
|
foreach($tables as $table) {
|
||||||
log_info("upgrade", "converting $table to innodb");
|
log_info("upgrade", "converting $table to innodb");
|
||||||
$database->execute("ALTER TABLE $table TYPE=INNODB");
|
$database->execute("ALTER TABLE $table ENGINE=INNODB");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
$(".shm-clink").each(function(idx, elm) {
|
$(".shm-clink").each(function(idx, elm) {
|
||||||
var target_id = $(elm).data("clink-sel");
|
var target_id = $(elm).data("clink-sel");
|
||||||
if(target_id && $(target_id)) {
|
if(target_id && $(target_id).length > 0) {
|
||||||
// if the target comment is already on this page, don't bother
|
// if the target comment is already on this page, don't bother
|
||||||
// switching pages
|
// switching pages
|
||||||
$(elm).attr("href", target_id);
|
$(elm).attr("href", target_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user