Lines Matching +full:style +full:. +full:local +full:. +full:ini
6 * filename (required) can be a local path/file name or a remote file uri
7 * to use remote file uri, allow_url_fopen=On must be set in the server's php.ini
13 * different style. If no title is present, it will be set to "file: filename"
17 * Unless configured correctly this plugin can be a huge security risk.
20 * - php.ini setting, allow_url_fopen
21 * - php.ini setting, open_basedir
22 * - this plugin's location, allow & deny settings.
24 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
25 * @author Christopher Smith <chris@jalakai.co.uk>
29 if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
30 require_once(DOKU_PLUGIN.'syntax.php');
57 'email' => 'chris@jalakai.co.uk',
62 'url' => 'http://www.dokuwiki.org/plugin:source',
74 $this->Lexer->addSpecialPattern('<source.*?>',$mode,substr(get_class($this), 7));
111 $ext = substr(strrchr($file, '.'),1);
120 // prevent filenames which attempt to move up directory tree by using ".."
121 if ($ok && $this->location && preg_match('/(?:^|\/)\.\.(?:\/|$)/', $file)) $ok = false;
131 $title = ($title) ? "<span>".hsc($title)."</span>"
134 $renderer->doc .= "<div class='source'><p>$title</p>";
136 $renderer->doc .= "</div>";
139 $renderer->doc .= '<div class="source"><p><span>'.$error.'</span></p></div>';
166 $source = @file($this->location.$file);
228 if (!preg_match('/^(allow|deny)\s+(.+)$/i',$rule,$match)) continue;