15 |
+ templates2events( "/etc/httpd/conf/httpd.conf", "conf-wordpress" ); |
+ templates2events( "/etc/httpd/conf/httpd.conf", "conf-wordpress" ); |
16 |
+ |
+ |
17 |
+# services to launch on event |
+# services to launch on event |
18 |
+ safe_symlink("sigusr1", "root/etc/e-smith/events/conf-worpress/services2adjust/httpd-e-smith"); |
+ safe_symlink("sigusr1", "root/etc/e-smith/events/conf-wordpress/services2adjust/httpd-e-smith"); |
19 |
+ safe_symlink("restart", "root/etc/e-smith/events/conf-worpress/services2adjust/mysql.init"); |
+ safe_symlink("restart", "root/etc/e-smith/events/conf-wordpress/services2adjust/mysql.init"); |
20 |
diff -Nur smeserver-wordpress-1.0/root/etc/e-smith/db/accounts/defaults/wordpress/type smeserver-wordpress-1.0.new/root/etc/e-smith/db/accounts/defaults/wordpress/type |
diff -Nur smeserver-wordpress-1.0/root/etc/e-smith/db/accounts/defaults/wordpress/type smeserver-wordpress-1.0.new/root/etc/e-smith/db/accounts/defaults/wordpress/type |
21 |
--- smeserver-wordpress-1.0/root/etc/e-smith/db/accounts/defaults/wordpress/type 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-wordpress-1.0/root/etc/e-smith/db/accounts/defaults/wordpress/type 1969-12-31 19:00:00.000000000 -0500 |
22 |
+++ smeserver-wordpress-1.0.new/root/etc/e-smith/db/accounts/defaults/wordpress/type 2013-10-27 14:22:18.000000000 -0400 |
+++ smeserver-wordpress-1.0.new/root/etc/e-smith/db/accounts/defaults/wordpress/type 2013-10-27 14:22:18.000000000 -0400 |
83 |
+ $OUT .= "define('DB_NAME', \'$wordpress{DbName}\'); \n"; |
+ $OUT .= "define('DB_NAME', \'$wordpress{DbName}\'); \n"; |
84 |
+ $OUT .= "define('DB_USER', \'$wordpress{DbUser}\'); \n"; |
+ $OUT .= "define('DB_USER', \'$wordpress{DbUser}\'); \n"; |
85 |
+ $OUT .= "define('DB_PASSWORD', \'$wordpress{DbPassword}\'); \n"; |
+ $OUT .= "define('DB_PASSWORD', \'$wordpress{DbPassword}\'); \n"; |
86 |
+ $OUT .= "define('WPLANG', \'$wordpress{WpLang}\'); \n"; |
+ $OUT .= "define('DB_HOST', \'localhost\'); \n"; |
87 |
+} |
+} |
88 |
\ Pas de fin de ligne à la fin du fichier. |
\ Pas de fin de ligne à la fin du fichier. |
89 |
diff -Nur smeserver-wordpress-1.0/root/etc/e-smith/templates/etc/wordpress/wp-config.php/20inc_dist smeserver-wordpress-1.0.new/root/etc/e-smith/templates/etc/wordpress/wp-config.php/20inc_dist |
diff -Nur smeserver-wordpress-1.0/root/etc/e-smith/templates/etc/wordpress/wp-config.php/20inc_dist smeserver-wordpress-1.0.new/root/etc/e-smith/templates/etc/wordpress/wp-config.php/20inc_dist |