index.php galerii:
<?php /** * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2013 Bharat Mediratta * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ // Set this to true to disable demo/debugging controllers // Gallery requires PHP 5.2+ // Gallery is not supported on Windows. //if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { // exit("Gallery is not supported on Windows (PHP reports that you're using: " . PHP_OS . ")"); //} // PHP 5.4 requires a timezone - if one isn't set date functions aren't going to work properly. // We'll log this once the logging system is initialized (in the gallery_event::gallery_ready). } // Gallery requires short_tags to be on // Suppress errors. For information on how to debug Gallery 3, see: // <a href="http://codex.galleryproject.org/Gallery3:FAQ#How_do_I_see_debug_information.3F" target="_blank">http://codex.galleryproject.org/Gallery3:F..._information.3F</a> // Disabling display_errors will effectively disable Kohana error display // and logging. You can turn off Kohana errors in application/config/config.php // Turn off session.use_trans_sid -- that feature attempts to inject session ids // into generated URLs and forms, but it doesn't interoperate will with Gallery's // Ajax code. // Restrict all response frames to the same origin for security // If the front controller is a symlink, change to the real docroot // Define application and system paths // We only accept a few controllers on the command line if (PHP_SAPI == "cli") { switch ($arg_1 = $_SERVER["argv"][1]) { case "install": include("installer/index.php"); case "upgrade": case "package": break; case "test": } break; default: } } else { } include("local.php"); } // Initialize. require APPPATH . "Bootstrap" . EXT;
jak wchodzę na stronę główną index.php , to po kliknięciu prawoklik "pokaż zródło strony" pokazuje mi się zrodło tej strony:
Podaję część , która mnie interesuje:
. Wiem ze php nie działa po stronie przeglądarki, przejrzałem wszystkie pliki php w katalogu gallery3 i nie znalazłem pliku php, w którym mógłbym modyfikować linki... Czy ktoś korzystał i używał gallery na swojej stronie i w jaki sposów mogę to rozwiązać. Siedzę nad tym od 3 godzin....
<div id="doc4" class="yui-t5 g-view"> <div id="g-header" class="ui-helper-clearfix"> <div id="g-banner"> <a id="g-logo" class="g-left" href="/%7Eklient_test/gallery3/index.php/" title="START Galerii"> <img width="107" height="48" alt="Logo Galerii: Twoje zdjęcia na Twojej stronie" src="/%7Eklient_test/gallery3/lib/images/logo.png" /> </a> <ul id='g-login-menu' class="g-inline ui-helper-clear-fix"> <li> <li> <a id='g-logout-link' class="g-menu-link " href="/%7Eklient_test/gallery3/index.php/logout?csrf=fb764ec6d2821899e49a441f9e96705b&continue_url=http%3A%2F%2Flocalhost%2F%257Eklient_test%2Fgallery3%2Findex.php%2F" title="Wyloguj"> Wyloguj </a> </li> </ul> <!-- hide the menu until after the page has loaded, to minimize menu flicker --> <div id="g-site-menu" style="visibility: hidden"> <ul class="g-menu"> <li> <a class="g-menu-link " href="/%7Eklient_test/gallery3/index.php/" title="Strona główna"> Strona główna </a>
Podaję img:
