Просмотр исходного кода

CustomPages : informative text on how to enable this setting when the feature hasn't been activated through an install or upgrade.

jkbockstael 14 лет назад
Родитель
Сommit
b6e7c7d963
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      custompages/README

+ 5 - 0
custompages/README

@@ -6,3 +6,8 @@ CustomPages looks for alternatives in this directory, and displays them if prese
 - registration-feedback.php for the registration success feedback
 - lostpassword.php for the password recovery form
 - lostpassword-feedback.php for the password recovery feedback page
+
+Important note :
+If you pull this feature from a repo, not through an upgrade or install process, you have to exectute the following SQL statements in the main database or this option won't appear in the admin interface :
+	INSERT INTO settings_options (variable, value, display_text) VALUES ('use_custom_pages', 'true', 'Yes'), ('use_custom_pages', 'false', 'No');
+	INSERT INTO settings_current (variable, type, category, selected_value, title, comment, scope) VALUES ('use_custom_pages','radio','Platform','false','UseCustomPages','UseCustomPagesComment', 'platform');