Lines Matching refs:content
99 $content = "<?php\n";
100 $content .= "# farm setup by farmer plugin\n";
101 $content .= "if(file_exists(__DIR__ . '/../lib/plugins/farmer/DokuWikiFarmCore.php')) {\n";
102 $content .= " include(__DIR__ . '/../lib/plugins/farmer/DokuWikiFarmCore.php');\n";
103 $content .= "}\n";
104 return io_saveFile(DOKU_INC . 'inc/preload.php', $content);
123 $content = "# Options added for farm setup by farmer plugin:\n";
124 $content .= "RewriteEngine On\n";
125 $content .= 'RewriteRule ^!([^/]+)/(.*) $2?animal=$1 [QSA,DPI]' . "\n";
126 $content .= 'RewriteRule ^!([^/]+)$ ?animal=$1 [QSA,DPI]' . "\n";
127 $content .= 'Options +FollowSymLinks' . "\n";
128 $content .= '# end of farm configuration' . "\n\n";
129 $content .= $old;
130 return io_saveFile(DOKU_INC . '.htaccess', $content);
141 $content = "; farm config created by the farmer plugin\n\n";
142 $content .= "[base]\n";
143 $content .= "farmdir = $animalpath\n";
144 $content .= "farmhost = {$_SERVER['HTTP_HOST']}\n";
145 return io_saveFile(DOKU_INC . 'conf/farm.ini', $content);