/[smecontribs]/rpms/smeserver-wordpress/contribs8/smeserver-wordpress-1.0-patch3.patch
ViewVC logotype

Diff of /rpms/smeserver-wordpress/contribs8/smeserver-wordpress-1.0-patch3.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by unnilennium, Tue Nov 5 06:29:51 2013 UTC Revision 1.2 by unnilennium, Tue Nov 5 06:51:47 2013 UTC
# Line 4  diff -up smeserver-wordpress-1.0/root/et Line 4  diff -up smeserver-wordpress-1.0/root/et
4  @@ -3,4 +3,19 @@  @@ -3,4 +3,19 @@
5       $OUT .= "define('DB_USER',     \'$wordpress{DbUser}\'); \n";       $OUT .= "define('DB_USER',     \'$wordpress{DbUser}\'); \n";
6       $OUT .= "define('DB_PASSWORD', \'$wordpress{DbPassword}\'); \n";       $OUT .= "define('DB_PASSWORD', \'$wordpress{DbPassword}\'); \n";
7       $OUT .= "define('WPLANG',      \'$wordpress{WpLang}\'); \n";       $OUT .= "define('DB_HOST',      \'localhost\'); \n";
8  -}  -}
9  \ Pas de fin de ligne à la fin du fichier.  \ Pas de fin de ligne à la fin du fichier.
10  +}  +}
# Line 85  diff -up smeserver-wordpress-1.0/root/et Line 85  diff -up smeserver-wordpress-1.0/root/et
85  + */  + */
86  +  +
87  +{  +{
88  +my $lang = $wordpress{'lang'} || '';  +my $lang = $wordpress{'WpLang'} || '';
89  +$OUT .= "define('WPLANG', '$lang');\n";  +$OUT .= "define('WPLANG', '$lang');\n";
90  +}  +}
91  +  +
# Line 109  diff -up smeserver-wordpress-1.0/root/et Line 109  diff -up smeserver-wordpress-1.0/root/et
109  +/** Sets up WordPress vars and included files. */  +/** Sets up WordPress vars and included files. */
110  +require_once(ABSPATH . 'wp-settings.php');  +require_once(ABSPATH . 'wp-settings.php');
111  +  +
112    diff -Nur smeserver-wordpress-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92wordpress.patch3 smeserver-wordpress-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92wordpress
113    --- smeserver-wordpress-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92wordpress.patch3     2013-11-05 01:46:45.000000000 -0500
114    +++ smeserver-wordpress-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92wordpress    2013-11-05 01:48:24.000000000 -0500
115    @@ -63,7 +63,7 @@
116           $OUT .= "\n";
117           $OUT .= "<Directory /usr/share/wordpress>\n";
118           $OUT .= "    AddType application/x-httpd-php .php\n";
119    -      $OUT .= "    php_admin_value open_basedir /usr/share/wordpress:/etc/wordpress:/tmp/:/usr/share/pear\n";
120    +      $OUT .= "    php_admin_value open_basedir /usr/share/wordpress:/etc/wordpress:/tmp/:/usr/share/pear:/usr/share/php/\n";
121           $OUT .= "    Options None\n";
122           $OUT .= "    order deny,allow\n";
123           $OUT .= "    deny from all\n";
124    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed