Lines Matching refs:GeSHi
3 * GeSHi example script
5 * Just point your browser at this script (with geshi.php in the parent directory,
6 * and the language files in subdirectory "../geshi/")
67 <title>GeSHi Language File Validation Script</title>
119 <h2>GeSHi Language File Validation Script</h2>
120 <p>To use this script, make sure that <strong>geshi.php</strong> is in the
122 subdirectory of GeSHi's directory called <strong>geshi/</strong>.</p>
124 finished you should see messages of what could cause trouble with GeSHi or where
128 <li>Checking where to find GeSHi installation ... <?php
129 // Rudimentary checking of where GeSHi is. In a default install it will be in ../, but
132 if (is_readable('../geshi.php')) {
134 } elseif (is_readable('geshi.php')) {
137 report_error(TYPE_ERROR, 'Could not find geshi.php - make sure it is in your include path!');
141 require $path . 'geshi.php';
143 if(!class_exists('GeSHi')) {
144 report_error(TYPE_ERROR, 'The GeSHi class was not found, although it seemed we loaded the correct file!');
233 if(!preg_match("/\/\*\*((?!\*\/).)*?This file is part of GeSHi\.((?!\*\/).)*?\*\//s", $langfile_content)) {
234 report_error(TYPE_WARNING, 'Language file does not state that it belongs to GeSHi!');
236 if(!preg_match("/\/\*\*((?!\*\/).)*?language file for GeSHi\.((?!\*\/).)*?\*\//s", $langfile_content)) {
237 report_error(TYPE_WARNING, 'Language file does not state that it is a language file for GeSHi!');
664 <div id="footer">GeSHi © 2004-2007 Nigel McNie, 2007-2008 Benny Baumann, released under the GNU GPL</div>