进行 1.5.19 的更新

+YUCHENG HU+

git-svn-id: https://svn.code.sf.net/p/hawebs/svn@256 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
This commit is contained in:
YuCheng Hu
2010-06-13 21:42:34 +00:00
parent c339acd077
commit 58e701d1f4
14 changed files with 4182 additions and 3989 deletions
File diff suppressed because it is too large Load Diff
+23 -23
View File
@@ -1,24 +1,24 @@
<?php
/**
* @version $Id: COPYRIGHT.php 11416 2009-01-17 09:55:02Z willebil $
* @package Joomla
* @copyright Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*/
defined('_JEXEC') or die('Restricted access');
?>
Joomla! derives from copyrighted works licensed under the GNU General
Public License. This version has been modified pursuant to the
GNU General Public License as of September 15, 2005, and as distributed,
it includes or is derivative of works licensed under the GNU General
Public License or other free or open source software licenses. Please
see the CREDITS.php for a non-exhaustive list of contributors and
copyright holders. A full text version of the GNU GPL version 2 can be
found in the LICENSE.php file. A full text version of the other licenses
<?php
/**
* @version $Id: COPYRIGHT.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*/
defined('_JEXEC') or die('Restricted access');
?>
Joomla! derives from copyrighted works licensed under the GNU General
Public License. This version has been modified pursuant to the
GNU General Public License as of September 15, 2005, and as distributed,
it includes or is derivative of works licensed under the GNU General
Public License or other free or open source software licenses. Please
see the CREDITS.php for a non-exhaustive list of contributors and
copyright holders. A full text version of the GNU GPL version 2 can be
found in the LICENSE.php file. A full text version of the other licenses
that Joomla! is derivative of or includes can be found in LICENSES.php.
+494 -488
View File
@@ -1,488 +1,494 @@
<?php
/**
* @version $Id: CREDITS.php 12356 2009-06-24 18:20:14Z ian $
* @package Joomla
* @copyright Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
-------------------- Joomla! 1.5 Credits ---------------------
Code contributers:
------------------
Levis Bisson
Blagovest Dachev
Andrew Eddie
Anthony Ferrara
David Gall
Gergo Erdosi
Rey Gigataras
Wilco Jansen
Johan Janssens
Alex Kempkens
Jason Kendall
Enno Klasing
Mati Kochen
Mateusz Kreszowiec
Louis Landry
Alan Langford
Mickael Maison
Rastin Mehr
Andy Miller
Samuel Moffatt
Robin Muilwijk
Hannes Pappenberg
Toby Patterson
Nur Aini Rakhmawati
Emir Sakic
Rob Schley
Amy Stephen
Marko Schmuck
Airton Torres
Jui-Yu Tsai (Ray)
Charl van Niekerk
Laurens Vanderput
Elin Warring
Arno Zijlstra
Documentation Contributers:
---------------------------
Leandro Bergantiños
Michelle Bisson
Chris Davenport
Ian MacLennan
Chad McKissick
René Serradeil
Andy Wallace
Translation contributors:
-------------------------
Translation contributors:
-------------------------
Albanian (sp-AL) - Blendi Kraja
Arabic Algeria (ar-DZ) - Saber Bousba
Basque (eu-ES) - Basque Translation Team (Basque Language School of Santurtzi) - Abel Camacho, Pedro Lonbide
Belarusian (be-BY) - Dennis Hermacki
Bengali (bn-BD) Kamal Sikder
Bulgarian (bg-BG) - Bulgarian Translation Team - Bultrans
Catalan (ca-ES) - Catalan Translation Team - Damià Verger
Chinese Simplified (zh-CN) - Johnathan Cheung
Chinese Traditional (zh-TW) - Traditional Chinese Translation Team - Eddy Chang
Croatian (hr-HR) - Croatian Translation Team - Klaudia B.
Czech (cs-CZ) - Czech Translation Team - Svatopluk Vit
Danish (da-DK) - Danish Translation Team - Ronny Buelund, Mikael Winther, Ole Bang Ottosen
Dutch (nl-NL) - Dutch Translation Team - Vancanneyt Sander, Marijke Stuivenberg
English (en-US) - US English Translation Team - Jennifer Marriott
Esperanto (eo-XX) - Esperanto Translation Team - Cindy McKee, Fabien Tschudy
Estonian (et-EE) - Estonian Translation Team - Rivo Zängov
Finnish (fi-FI) - Finnish Translation Team - Markku Suominen
French (fr-FR) - French Translation Team - Nicolas Ogier
German (de-DE)/(de-CH)/(de-AT) - J!German - Jan Erik Zassenhaus, Karin Nikolaj, David Jakob, Antonio Cambule\
Greek (el-GR) - Greek Joomla Community - Aris Ntatsis
Gujarati (gu-IN) - Gujarati Translation Team
Hebrew (he-IL) - Joomla!Hebrew - Mati (MtK) Kochen
Hindi-Devanagari (hi-IN) - IndicJoomla! Team - Vishal Pahuja
Hungarian (hu-HU) - Magyar Joomla! Felhasznalok Nemzetkozi Egyesulete - Jozsef Tamas Herczeg, Annamaria Ban
Icelandic (is-IS) - Joomlis! Icelandic Joomla Community [joomlis.net] - Magnús Guðlaugsson
Italian (it-IT) - Italian Translation Team - Stefania Gaianigo, Alessandro Rossi
Japanese (ja-JP) - Japanese Translation Team - Noriaki Koide, Hiroko Hirano
Laotian (lo-LA) - Joomla LaiLao Team (LaoOpenSource) - Akarawuth Tamrareang , Viengsakhone phanthanousy , Outhai Saioudom
Latvian (lv-LV) - Joomla Latvian Team - Edgars Piruška, Iveta Rītiņa-Namiķe, Ingars Stepkāns
Lithuanian (lt-LT) - Lithuanian Translation Team - Stasys Svabas
Mongolian (mn-MN) - Mongolian Translation Team, Altansukh T.
Montenegrin (sr-ME) - Montenegrin Translation Team (joomlamontenegro.com) - Miljan Vujosevic, Dragan Djordjevic
Norwegian bokmål (nb-NO) - Joomla! i Norge - Jens-Christian Skibakk, Rune Rasmussen
Persian/Farsi (fa-IR) - Joomfa Team(Joomla Farsi) - M.Alavi nik, Hamid abolhasani,Amin bagheri,Sayyed Saeed farzad,Sayyed ahmad sayyedi,Vahid Hosein Khani,Omid pileh var
Polish - Poland (pl-PL) - Polskie Centrum Joomla! - Michał Sobkowiak, Stefan Wajda
Portuguese Brazilian (pt-BR) - Joomla! Brasil - Fabricio Elias Costa (FaBMak)
Portuguese (pt-PT) - Joomla! Portugal - Paulo Izidoro
Romanian (ro-RO) - Romanian Joomla! Community - Cosmin Lebu
Russian (ru-RU) - Russian Translation Team - Serge Litvinov
Serbian (sr-RS) - Joomla! Serbia team - Marko Milenovic
Sindhi (sd-PK) - Raheel H. Kaghzi, Shafiq-ur-rehman Khatri
Sinhala (si-LK) - Rashan Anushka
Slovak (sk-SK) - Slovak Translation Team - Karol Cejka, Viliam Kmec, Alexander Horvath, Marek Sabo
Spanish (es-ES) - Joomla!'s Spanish Community Translation Team - Javier Galasse
Swedish (sv-SE) - Swedish Translation Team (SvenskJoomla!) - Sune Hultman, Christer Gerhardsson
Syriac (sy-IQ) - Pauls! Dinka
Tamil (ta-LK) - Sri Lanka -UoM, LK, sarves
Thai (th-TH) - Joomla LaiThai Team (JoomlaCorner) - Akarawuth Tamrareang , Supachai Teasakul, Pisan Chueachatchai
Turkish (tr-TR) - Joomla! Turkiye - Ümit Kenan Gönüllü, Uğur Uygur
Ukrainian (uk-UA) - Ukrainian Translation Team - Denys Nosov
Urdu Pakistan (ur-PK) - Basim
Vietnamese (vi-VN) - Việt Nam Translation Team - Viet Hoang Vu
Pizza Bug and fun Event
-----------------------
Chris Davenport
Kevin Devine
Anthony Ferrara
Jerry Hilburn
Louis Landry
Wilco Jansen
Jennifer Marriott
Rob Schley
Amy Stephen
Nereyda Valentin-Macias
Elin Waring
Michael Casha
Marcelo Eden
Matt Thomas
Ross Crawford
Mickael Maison
Ian MacLennan
Jaap Woltjes
Alan Langford
Michael Hamanaka
Joe LeBlanc
Shannon Quinn
Michelle Bisson
Airton Torres
Toni Marie Swats
Jon Giles
Matheus Mendes
Joomla! 1.5 includes or is derivative of works distributed under the licenses listed below.
The full text for most of the licenses listed below can be found in the LICENSES.php file.
The original copyright notices have been preserved within the respective files and or
packages. Please refer to the specific files and/or packages for more detailed information
about the authors, copyright notices, and licenses.
---------------------------------------------------------------------------------------------
Archive
-------
Author: Vincent Blavet
Copyright: Copyright (C) 1997-2003 The PHP Group
License: BSD License
Domit
-----
Author: John Heinstein
Copyright: Copyright (C) 2004 John Heinstein. All rights reserved
License: GNU Lesser General Public License (LGPL) 2.1 or later
Feedcreator
-----------
Author: Kai Blankenhorn
Copyright: Copyright (C) Kai Blankenhorn
License: GNU Lesser General Public License (LGPL) 2.1 or later
Geshi
-----
Author: Nigel McNie
Copyright: Copyright (C) 2004 - 2007 Nigel McNie
License: GNU General Public License (GPL) 2 or later
js-calendar
-----------
Author: Mihai Bazon
Copyright: Copyright (C) Mihai Bazon, 2002
License: GNU Lesser General Public License (LGPL) 2.1 or later
js-dtree
--------
Author: Geir Landrö
Copyright: Copyright (c) 2002-2003 Geir Landrö
License: Freeware license
js-jscook-menu
--------------
Author: Heng Yuan
Copyright: Copyright (C) 2002-2005 by Heng Yuan
License: MIT License
js-overlib
----------
Author: Erik Bosrup
Copyright: Copyright (C) Erik Bosrup 1998-2004. All rights reserved.
License: Artistic (see http://www.bosrup.com/web/overlib/?License)
js-squeezebox, js-swiff, js-fancyupload
---------------------------------------
Author: Harald Kirschner
Copyright: Copyright (C) Harald Kirschner
License: MIT-style license
js-tab-pane
-----------
Author: Erik Arvidsson
Copyright: Copyright (C) 1998 - 2003 Erik Arvidsson
License: GNU General Public License (GPL)
js-wz-tooltip
-------------
Author: Walter Zorn
Copyright: Copyright (c) 2002-2004 Walter Zorn. All rights reserved.
License: GNU Lesser General Public License (LGPL) 2.1 or later
Mootools
--------
Author: Valerio Proietti
Copyright: Copyright (C) 2007 Valerio Proietti
License: MIT license
PHP OpenID
----------
Author: Janrain, Inc.
Copyright: Copyright (C) 2005 - 2008 Janrain, Inc.
License: Apache License 2.0
patError
------
Author: gERD Schaufelberger, Sebastian Mordziol, Stephan Schmidt
Copyright: Copyright (C) gERD Schaufelberger, Sebastian Mordziol, Stephan Schmidt
License: GNU Lesser General Public License (LGPL)
patTemplate
-----------
Author: Stephan Schmidt
Copyright: Copyright (C) Stephan Schmidt
License: GNU Lesser General Public License (LGPL)
Pear
----
Author: Sterling Hughes, Stig Bakken, Tomas V.V.Cox, Greg Beaver
Copyright: Copyright (C) 1997-2009 The PHP Group
License: BSD License
PHPGACL
-------
Author: Mike Benoit
Copyright: Copyright (C) 2002, 2003 Mike Benoit
License: GNU Lesser General Public License (LGPL) 2.1 or later
PHPInputfilter
--------------
Author: Daniel Morris
Copyright: Copyright (C) Daniel Morris
License: GNU General Public License (GPL)
PHPMailer
--------
Author: Andy Prevost, Brent R. Matzelle
Copyright: Copyright (C) 2001 - 2003 Brent R. Matzelle
Copyright (c) 2004-2009, Andy Prevost. All Rights Reserved.
License: GNU Lesser General Public License (LGPL) 2.1
phpUTF8
-------
Author: Harry Fuecks
Copyright: Copyright (C) Harry Fuecks
License: GNU Lesser General Public License (LGPL) 2.1
PHPXMLRPC
---------
Author: Edd Dumbill
Copyright: Copyright (C) 1999,2000,2002 Edd Dumbill
License: BSD License
SimplePie
---------
Author: Ryan Parman and Geoffrey Sneddon
Copyright: Copyright (C) 2004-2007, Ryan Parman and Geoffrey Sneddon
License: BSD License
TCPDF
-----
Author: Nicola Asuni
Copyright: Copyright (C) Nicola Asuni
License: GNU Lesser General Public License (LGPL) 2.1
TinyMCE
-------
Author: Moxiecode Systems
Copyright: Copyright (C) 2005-2009, Moxiecode Systems AB, All rights reserved.
License: GNU Lesser General Public License (LGPL) 2.1
VCard
-----
Author: Kai Blankenhorn
Copyright: Copyright (C) Kai Blankenhorn
License: GNU General Public License (GPL) 2 or later
XStandard Lite
--------------
Author: Belus Technology Inc.
Copyright: Copyright (c) 2006 Belus Technology Inc.
License: Freeware license
FOOOD Icons
-----------
Copyright: 2004 iCandy Junior Icons
License: http://www.iconaholic.com/help/joomla.html
Notes: Please note these icons are NOT OPEN SOURCE but used with permission
Print & Email Front End Icons
-----------------------------
Copyright: Copyright (C) 2005 Plone Foundation
License: GNU Lesser General Public License (LGPL)
-------------------- Joomla! 1.0 Credits ---------------------
Code contributers:
------------------
Nick Anies
Brad Baker
Ron Bakker
Shayne Bartlett
Tim Broeker
Levis Bisson
Michelle Bisson
Robert Castley
Andrew Eddie
Rey Gigataras
Johan Janssens
Alex Kempkens
Peter Koch
Louis Landry
James Logan
Andy Miller
Mitch Pirtle
Steen Rabol
Peter Russel
Phil Taylor
Brian Teeman
Emir Sakic
Rob Schley
Jean-Marie Simonet
Andy Stewart
Trijnie Wanders
Arno Zijlstra
Joomla! 1.0 includes or is derivative of works distributed under the licenses listed below.
The full text for most of the licenses listed below can be found in the LICENSES.php file.
Some of the licenses could not be copied without permission. In those cases, URLs are
provided to the full text of the license. The original copyright notices have been preserved
within the respective files and or packages. Please refer to the specific files and/or
packages for more detailed information about the authors, copyrights, and licenses.
---------------------------------------------------------------------------------------------
Archive
-------
Author: Vincent Blavet
Copyright: Copyright (C) 1997-2003 The PHP Group
License: PHP License 3.0
Cache
-----
Author: Fabien Marty
Copyright: Copyright (C) Fabien Marty
License: GNU Lesser General Public License (LGPL)
Domit
-----
Author: John Heinstein
Copyright: Copyright (C) 2004 John Heinstein. All rights reserved
License: GNU Lesser General Public License (LGPL)
ezpdf
-----
Author: Wayne Munro, R&OS Ltd.
License: Public Domain
Feedcreator
-----------
Author: Kai Blankenhorn
Copyright: Copyright (C) Kai Blankenhorn
License: GNU Lesser General Public License (LGPL)
js-calendar
-----------
Author: Mihai Bazon
Copyright: Copyright (C) Mihai Bazon, 2002
License: GNU Lesser General Public License (LGPL)
js-jscook-menu
--------------
Author: Heng Yuan
Copyright: Copyright (C) 2002-2005 by Heng Yuan
License: MIT License
js-overlib
----------
Author: Erik Bosrup
Copyright: Copyright (C) Erik Bosrup 1998-2004. All rights reserved.
License: Artistic (see http://www.bosrup.com/web/overlib/?License)
js-tabs
-------
Author: Erik Arvidsson
Copyright: Copyright (C) 1998 - 2003 Erik Arvidsson
License: GNU General Public License (GPL)
Mambo
-----
Copyright: Copyright (C) 2000 - 2004 Mambo Foundation, Inc.
Copyright: Copyright (C) 2000 - 2004 Miro International Pty Ltd.
License: GNU General Public License (GPL)
patError
--------
Author: gERD Schaufelberger, Sebastian Mordziol, Stephan Schmidt
Copyright: Copyright (C) gERD Schaufelberger, Sebastian Mordziol, Stephan Schmidt
License: GNU Lesser General Public License (LGPL)
patTemplate
-----------
Author: Stephan Schmidt
Copyright: Copyright (C) Stephan Schmidt
License: GNU Lesser General Public License (LGPL)
Pear
----
Author: Sterling Hughes, Stig Bakken, Tomas V.V.Cox, Greg Beaver
Copyright: Copyright (C) 1997-2006 The PHP Group
License: PHP License 3.0
PHPGACL
-------
Author: Mike Benoit
Copyright: Copyright (C) 2002, 2003 Mike Benoit
License: GNU Lesser General Public License (LGPL)
PHPInputfilter
--------------
Author: Daniel Morris
Copyright: Copyright (C) Daniel Morris
License: GNU General Public License (GPL)
PHPMailer
---------
Author: Brent R. Matzelle
Copyright: Copyright (C) 2001 - 2003 Brent R. Matzelle
License: GNU General Public License (GPL)
TinyMCE
-------
Author: Moxiecode Systems
Copyright: Copyright (C) 2005-2006, Moxiecode Systems AB, All rights reserved.
License: GNU Lesser General Public License (LGPL)
VCard
-----
Author: Kai Blankenhorn
Copyright: Copyright (C) Kai Blankenhorn
License: GNU General Public License (GPL)
wz-tooltip
----------
Author: Walter Zorn
Copyright: Copyright (c) 2002-2004 Walter Zorn. All rights reserved.
License: GNU Lesser General Public License (LGPL)
FOOOD Icons (Administrator Toolbar)
-----------------------------------
Copyright: 2004 iCandy Junior Icons
License: http://www.iconaholic.com/help/joomla.html
Notes: Please note these icons are NOT OPEN SOURCE but used with permission
<?php
/**
* @version $Id: CREDITS.php 16380 2010-04-23 09:19:48Z ian $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
-------------------- Joomla! 1.5 Credits ---------------------
Code contributers:
------------------
Levis Bisson
Blagovest Dachev
Andrew Eddie
Anthony Ferrara
David Gall
Gergo Erdosi
Rey Gigataras
Wilco Jansen
Johan Janssens
Alex Kempkens
Jason Kendall
Enno Klasing
Mati Kochen
Mateusz Kreszowiec
Louis Landry
Alan Langford
Mickael Maison
Rastin Mehr
Andy Miller
Samuel Moffatt
Robin Muilwijk
Hannes Pappenberg
Toby Patterson
Nur Aini Rakhmawati
Emir Sakic
Rob Schley
Amy Stephen
Marko Schmuck
Airton Torres
Jui-Yu Tsai (Ray)
Charl van Niekerk
Laurens Vanderput
Elin Warring
Arno Zijlstra
Documentation Contributers:
---------------------------
Leandro Bergantiños
Michelle Bisson
Chris Davenport
Ian MacLennan
Chad McKissick
René Serradeil
Andy Wallace
Translation contributors:
-------------------------
Albanian (sp-AL) - Blendi Kraja
Arabic Unitag (ar-AA) - Arabic Unitag Translation Team - Mahmood Alhaj Kassem
Azeri (az-AZ) - Azeri Translation Team - Mahmud and Yusif
Basque (eu-ES) - Basque Translation Team (Basque Language School of Santurtzi) - Abel Camacho, Pedro Lonbide
Belarusian (be-BY) - Dennis Hermacki
Bengali (bn-BD) Kamal Sikder
Bulgarian (bg-BG) - Bulgarian Translation Team - Bultrans
Catalan (ca-ES) - Catalan Translation Team - Damià Verger
Chinese Simplified (zh-CN) - Johnathan Cheung
Chinese Traditional (zh-TW) - Traditional Chinese Translation Team - Eddy Chang
Croatian (hr-HR) - Croatian Translation Team - Klaudia B.
Czech (cs-CZ) - Czech Translation Team - Svatopluk Vit
Danish (da-DK) - Danish Translation Team - Ronny Buelund, Mikael Winther, Ole Bang Ottosen
Dari (Afghanistan) (fa-AF) - Dari (Afghanistan) Translation Team - Daud Nigaresh
Dutch (nl-NL) - Dutch Translation Team - Vancanneyt Sander, Marijke Stuivenberg
English (en-US) - US English Translation Team - Jennifer Marriott
Esperanto (eo-XX) - Esperanto Translation Team - Cindy McKee, Fabien Tschudy
Estonian (et-EE) - Estonian Translation Team - Rivo Zängov
Finnish (fi-FI) - Finnish Translation Team - Markku Suominen
French (fr-FR) - French Translation Team - Nicolas Ogier
German (de-DE)/(de-CH)/(de-AT) - J!German - Jan Erik Zassenhaus, Karin Nikolaj, David Jakob, Antonio Cambule\
Greek (el-GR) - Greek Joomla Community - Aris Ntatsis
Gujarati (gu-IN) - Gujarati Translation Team
Hebrew (he-IL) - Joomla!Hebrew - Mati (MtK) Kochen
Hindi (India) (hi-IN) - Hindi (India) Translation Team - Sanjeev Naroliya, Ronak Bhagdev, Aminuddin Sheikh
Hungarian (hu-HU) - Magyar Joomla! Felhasznalok Nemzetkozi Egyesulete - Jozsef Tamas Herczeg, Annamaria Ban
Icelandic (is-IS) - Joomlis! Icelandic Joomla Community [joomlis.net] - Magnús Guðlaugsson
Indonesian (id-ID) - Indonesian (Bahasa Indonesia) Translation Community - Andy Sikumbang
Italian (it-IT) - Italian Translation Team - Stefania Gaianigo, Alessandro Rossi
Japanese (ja-JP) - Japanese Translation Team - Noriaki Koide, Hiroko Hirano
Khmer (Cambodia) (km-KH) - Khmer (Cambodia) Translation Team - Heng Sovann
Laotian (lo-LA) - Joomla LaiLao Team (LaoOpenSource) - Akarawuth Tamrareang , Viengsakhone phanthanousy , Outhai Saioudom
Latvian (lv-LV) - Joomla Latvian Team - Edgars Piruška, Iveta Rītiņa-Namiķe, Ingars Stepkāns
Lithuanian (lt-LT) - Lithuanian Translation Team - Stasys Svabas
Mongolian (mn-MN) - Mongolian Translation Team, Altansukh T.
Montenegrin (sr-ME) - Montenegrin Translation Team (joomlamontenegro.com) - Miljan Vujosevic, Dragan Djordjevic
Norwegian bokmål (nb-NO) - Joomla! i Norge - Jens-Christian Skibakk, Rune Rasmussen
Pashto (Afghanistan) (ps-AF) - Pashto (Afghanistan) Translation Team - Daud Nigaresh
Persian/Farsi (fa-IR) - Joomfa Team(Joomla Farsi) - M.Alavi nik, Hamid abolhasani,Amin bagheri,Sayyed Saeed farzad,Sayyed ahmad sayyedi,Vahid Hosein Khani,Omid pileh var
Polish - Poland (pl-PL) - Polskie Centrum Joomla! - Michał Sobkowiak, Stefan Wajda
Portuguese Brazilian (pt-BR) - Joomla! Brasil - Fabricio Elias Costa (FaBMak)
Portuguese (pt-PT) - Joomla! Portugal - Paulo Izidoro
Romanian (ro-RO) - Romanian Joomla! Community - Cosmin Lebu
Russian (ru-RU) - Russian Translation Team - Serge Litvinov
Serbian (sr-RS) - Joomla! Serbia team - Marko Milenovic
Serbian (sr-YU) - Joomla! Serbia team - Svetlana Zec, Marko Milenovic
Sindhi (sd-PK) - Raheel H. Kaghzi, Shafiq-ur-rehman Khatri
Sinhala (si-LK) - Rashan Anushka
Slovak (sk-SK) - Slovak Translation Team - Karol Cejka, Viliam Kmec, Alexander Horvath, Marek Sabo
Slovenian (sl-SI) - Slovenian Translation Team - Borut Planinc
Spanish (es-ES) - Joomla!'s Spanish Community Translation Team - Javier Galasse
Swedish (sv-SE) - Swedish Translation Team (SvenskJoomla!) - Sune Hultman, Christer Gerhardsson
Syriac (sy-IQ) - East Syriac Translation (Syriac Joomla) - Pauls Dinka
Tagalog (Philippines) (tl-PH) - Tagalog (Philippines) Translation Community - Aristedes Royo
Tamil (ta-LK) - Sri Lanka -UoM, LK, sarves
Thai (th-TH) - Joomla LaiThai Team (JoomlaCorner) - Akarawuth Tamrareang , Supachai Teasakul, Pisan Chueachatchai
Turkish (tr-TR) - Joomla! Turkiye - Ümit Kenan Gönüllü
Ukrainian (uk-UA) - Ukrainian Translation Team - Denys Nosov
Urdu Pakistan (ur-PK) - Basim
Vietnamese (vi-VN) - Việt Nam Translation Team - Viet Hoang Vu
Pizza Bug and fun Event
-----------------------
Chris Davenport
Kevin Devine
Anthony Ferrara
Jerry Hilburn
Louis Landry
Wilco Jansen
Jennifer Marriott
Rob Schley
Amy Stephen
Nereyda Valentin-Macias
Elin Waring
Michael Casha
Marcelo Eden
Matt Thomas
Ross Crawford
Mickael Maison
Ian MacLennan
Jaap Woltjes
Alan Langford
Michael Hamanaka
Joe LeBlanc
Shannon Quinn
Michelle Bisson
Airton Torres
Toni Marie Swats
Jon Giles
Matheus Mendes
Joomla! 1.5 includes or is derivative of works distributed under the licenses listed below.
The full text for most of the licenses listed below can be found in the LICENSES.php file.
The original copyright notices have been preserved within the respective files and or
packages. Please refer to the specific files and/or packages for more detailed information
about the authors, copyright notices, and licenses.
---------------------------------------------------------------------------------------------
Archive
-------
Author: Vincent Blavet
Copyright: Copyright (C) 1997-2003 The PHP Group
License: BSD License
Domit
-----
Author: John Heinstein
Copyright: Copyright (C) 2004 John Heinstein. All rights reserved
License: GNU Lesser General Public License (LGPL) 2.1 or later
Feedcreator
-----------
Author: Kai Blankenhorn
Copyright: Copyright (C) Kai Blankenhorn
License: GNU Lesser General Public License (LGPL) 2.1 or later
Geshi
-----
Author: Nigel McNie
Copyright: Copyright (C) 2004 - 2007 Nigel McNie
License: GNU General Public License (GPL) 2 or later
js-calendar
-----------
Author: Mihai Bazon
Copyright: Copyright (C) Mihai Bazon, 2002
License: GNU Lesser General Public License (LGPL) 2.1 or later
js-dtree
--------
Author: Geir Landrö
Copyright: Copyright (c) 2002-2003 Geir Landrö
License: Freeware license
js-jscook-menu
--------------
Author: Heng Yuan
Copyright: Copyright (C) 2002-2005 by Heng Yuan
License: MIT License
js-overlib
----------
Author: Erik Bosrup
Copyright: Copyright (C) Erik Bosrup 1998-2004. All rights reserved.
License: Artistic (see http://www.bosrup.com/web/overlib/?License)
js-squeezebox, js-swiff, js-fancyupload
---------------------------------------
Author: Harald Kirschner
Copyright: Copyright (C) Harald Kirschner
License: MIT-style license
js-tab-pane
-----------
Author: Erik Arvidsson
Copyright: Copyright (C) 1998 - 2003 Erik Arvidsson
License: GNU General Public License (GPL)
js-wz-tooltip
-------------
Author: Walter Zorn
Copyright: Copyright (c) 2002-2004 Walter Zorn. All rights reserved.
License: GNU Lesser General Public License (LGPL) 2.1 or later
Mootools
--------
Author: Valerio Proietti
Copyright: Copyright (C) 2007 Valerio Proietti
License: MIT license
PHP OpenID
----------
Author: Janrain, Inc.
Copyright: Copyright (C) 2005 - 2008 Janrain, Inc.
License: Apache License 2.0
patError
------
Author: gERD Schaufelberger, Sebastian Mordziol, Stephan Schmidt
Copyright: Copyright (C) gERD Schaufelberger, Sebastian Mordziol, Stephan Schmidt
License: GNU Lesser General Public License (LGPL)
patTemplate
-----------
Author: Stephan Schmidt
Copyright: Copyright (C) Stephan Schmidt
License: GNU Lesser General Public License (LGPL)
Pear
----
Author: Sterling Hughes, Stig Bakken, Tomas V.V.Cox, Greg Beaver
Copyright: Copyright (C) 1997-2009 The PHP Group
License: BSD License
PHPGACL
-------
Author: Mike Benoit
Copyright: Copyright (C) 2002, 2003 Mike Benoit
License: GNU Lesser General Public License (LGPL) 2.1 or later
PHPInputfilter
--------------
Author: Daniel Morris
Copyright: Copyright (C) Daniel Morris
License: GNU General Public License (GPL)
PHPMailer
--------
Author: Andy Prevost, Brent R. Matzelle
Copyright: Copyright (C) 2001 - 2003 Brent R. Matzelle
Copyright (c) 2004-2009, Andy Prevost. All Rights Reserved.
License: GNU Lesser General Public License (LGPL) 2.1
phpUTF8
-------
Author: Harry Fuecks
Copyright: Copyright (C) Harry Fuecks
License: GNU Lesser General Public License (LGPL) 2.1
PHPXMLRPC
---------
Author: Edd Dumbill
Copyright: Copyright (C) 1999,2000,2002 Edd Dumbill
License: BSD License
SimplePie
---------
Author: Ryan Parman and Geoffrey Sneddon
Copyright: Copyright (C) 2004-2007, Ryan Parman and Geoffrey Sneddon
License: BSD License
TCPDF
-----
Author: Nicola Asuni
Copyright: Copyright (C) Nicola Asuni
License: GNU Lesser General Public License (LGPL) 2.1
TinyMCE
-------
Author: Moxiecode Systems
Copyright: Copyright (C) 2005-2009, Moxiecode Systems AB, All rights reserved.
License: GNU Lesser General Public License (LGPL) 2.1
VCard
-----
Author: Kai Blankenhorn
Copyright: Copyright (C) Kai Blankenhorn
License: GNU General Public License (GPL) 2 or later
XStandard Lite
--------------
Author: Belus Technology Inc.
Copyright: Copyright (c) 2006 Belus Technology Inc.
License: Freeware license
FOOOD Icons
-----------
Copyright: 2004 iCandy Junior Icons
License: http://www.iconaholic.com/help/joomla.html
Notes: Please note these icons are NOT OPEN SOURCE but used with permission
Print & Email Front End Icons
-----------------------------
Copyright: Copyright (C) 2005 Plone Foundation
License: GNU Lesser General Public License (LGPL)
-------------------- Joomla! 1.0 Credits ---------------------
Code contributers:
------------------
Nick Anies
Brad Baker
Ron Bakker
Shayne Bartlett
Tim Broeker
Levis Bisson
Michelle Bisson
Robert Castley
Andrew Eddie
Rey Gigataras
Johan Janssens
Alex Kempkens
Peter Koch
Louis Landry
James Logan
Andy Miller
Mitch Pirtle
Steen Rabol
Peter Russel
Phil Taylor
Brian Teeman
Emir Sakic
Rob Schley
Jean-Marie Simonet
Andy Stewart
Trijnie Wanders
Arno Zijlstra
Joomla! 1.0 includes or is derivative of works distributed under the licenses listed below.
The full text for most of the licenses listed below can be found in the LICENSES.php file.
Some of the licenses could not be copied without permission. In those cases, URLs are
provided to the full text of the license. The original copyright notices have been preserved
within the respective files and or packages. Please refer to the specific files and/or
packages for more detailed information about the authors, copyrights, and licenses.
---------------------------------------------------------------------------------------------
Archive
-------
Author: Vincent Blavet
Copyright: Copyright (C) 1997-2003 The PHP Group
License: PHP License 3.0
Cache
-----
Author: Fabien Marty
Copyright: Copyright (C) Fabien Marty
License: GNU Lesser General Public License (LGPL)
Domit
-----
Author: John Heinstein
Copyright: Copyright (C) 2004 John Heinstein. All rights reserved
License: GNU Lesser General Public License (LGPL)
ezpdf
-----
Author: Wayne Munro, R&OS Ltd.
License: Public Domain
Feedcreator
-----------
Author: Kai Blankenhorn
Copyright: Copyright (C) Kai Blankenhorn
License: GNU Lesser General Public License (LGPL)
js-calendar
-----------
Author: Mihai Bazon
Copyright: Copyright (C) Mihai Bazon, 2002
License: GNU Lesser General Public License (LGPL)
js-jscook-menu
--------------
Author: Heng Yuan
Copyright: Copyright (C) 2002-2005 by Heng Yuan
License: MIT License
js-overlib
----------
Author: Erik Bosrup
Copyright: Copyright (C) Erik Bosrup 1998-2004. All rights reserved.
License: Artistic (see http://www.bosrup.com/web/overlib/?License)
js-tabs
-------
Author: Erik Arvidsson
Copyright: Copyright (C) 1998 - 2003 Erik Arvidsson
License: GNU General Public License (GPL)
Mambo
-----
Copyright: Copyright (C) 2000 - 2004 Mambo Foundation, Inc.
Copyright: Copyright (C) 2000 - 2004 Miro International Pty Ltd.
License: GNU General Public License (GPL)
patError
--------
Author: gERD Schaufelberger, Sebastian Mordziol, Stephan Schmidt
Copyright: Copyright (C) gERD Schaufelberger, Sebastian Mordziol, Stephan Schmidt
License: GNU Lesser General Public License (LGPL)
patTemplate
-----------
Author: Stephan Schmidt
Copyright: Copyright (C) Stephan Schmidt
License: GNU Lesser General Public License (LGPL)
Pear
----
Author: Sterling Hughes, Stig Bakken, Tomas V.V.Cox, Greg Beaver
Copyright: Copyright (C) 1997-2006 The PHP Group
License: PHP License 3.0
PHPGACL
-------
Author: Mike Benoit
Copyright: Copyright (C) 2002, 2003 Mike Benoit
License: GNU Lesser General Public License (LGPL)
PHPInputfilter
--------------
Author: Daniel Morris
Copyright: Copyright (C) Daniel Morris
License: GNU General Public License (GPL)
PHPMailer
---------
Author: Brent R. Matzelle
Copyright: Copyright (C) 2001 - 2003 Brent R. Matzelle
License: GNU General Public License (GPL)
TinyMCE
-------
Author: Moxiecode Systems
Copyright: Copyright (C) 2005-2006, Moxiecode Systems AB, All rights reserved.
License: GNU Lesser General Public License (LGPL)
VCard
-----
Author: Kai Blankenhorn
Copyright: Copyright (C) Kai Blankenhorn
License: GNU General Public License (GPL)
wz-tooltip
----------
Author: Walter Zorn
Copyright: Copyright (c) 2002-2004 Walter Zorn. All rights reserved.
License: GNU Lesser General Public License (LGPL)
FOOOD Icons (Administrator Toolbar)
-----------------------------------
Copyright: 2004 iCandy Junior Icons
License: http://www.iconaholic.com/help/joomla.html
Notes: Please note these icons are NOT OPEN SOURCE but used with permission
+151 -151
View File
@@ -1,151 +1,151 @@
<?php
/**
* @version $Id: INSTALL.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla
* @copyright Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
REQUIREMENTS
------------
First you must have the base environment for Joomla.
We have thoroughly tested Joomla! on: Linux, Free BSD, Mac OS X and Windows NT/2000.
Linux or one of the BSD's are recommended, but anything else that can run the
3 pieces of software listed below should do it.
Apache -> http://www.apache.org
MySQL -> http://www.mysql.com
PHP -> http://www.php.net
SERVER CONFIGURATION
--------------------
You MUST ensure that PHP has been compiled with support for MySQL and Zlib
in order to successfully run Joomla.
While we have reports that Joomla! works on IIS server we recommend Apache
for running Joomla! on Windows.
OPTIONAL COMPONENTS
-------------------
If you want support for SEF (Search Engine Friendly) URLs, you'll need mod_rewrite and the ability to
use local .htaccess files.
INSTALLATION
------------
1. DOWNLOAD Joomla
You can obtain the latest Joomla! release from:
http://www.joomla.org
Copy the tar.gz file into a working directory e.g.
$ cp JoomlaVx.x.x-Stable.tar.gz /tmp/Joomla
Change to the working directory e.g.
$ cd /tmp/Joomla
Extract the files e.g.
$ tar -zxvf JoomlaVx.x.x-Stable.tar.gz
This will extract all Joomla! files and directories. Move the contents
of that directory into a directory within your web server's document
root or your public HTML directory e.g.
$ mv /tmp/Joomla/* /var/www/html
Alternatively if you downloaded the file to your computer and unpacked
it locally use a FTP program to upload all files to your server.
Make sure all PHP, HTML, CSS and JS files are sent in ASCII mode and
image files (GIF, JPG, PNG) in BINARY mode.
2. CREATE THE Joomla! DATABASE
Joomla! will currently only work with MySQL. In the following examples,
"db_user" is an example MySQL user which has the CREATE and GRANT
privileges. You will need to use the appropriate user name for your
system.
First, you must create a new database for your Joomla! site e.g.
$ mysqladmin -u db_user -p create Joomla
MySQL will prompt for the 'db_user' database password and then create
the initial database files. Next you must login and set the access
database rights e.g.
$ mysql -u db_user -p
Again, you will be asked for the 'db_user' database password. At the
MySQL prompt, enter following command:
GRANT ALL PRIVILEGES ON Joomla.*
TO nobody@localhost IDENTIFIED BY 'password';
where:
'Joomla' is the name of your database
'nobody@localhost' is the userid of your webserver MySQL account
'password' is the password required to log in as the MySQL user
If successful, MySQL will reply with
Query OK, 0 rows affected
to activate the new permissions you must enter the command
flush privileges;
and then enter '\q' to exit MySQL.
Alternatively you can use your web control panel or phpMyAdmin to
create a database for Joomla.
3. WEB INSTALLER
Finally point your web browser to http://www.mysite.com where the Joomla! web
based installer will guide you through the rest of the installation.
4. CONFIGURE Joomla
You can now launch your browser and point it to your Joomla! site e.g.
http://www.mysite.com -> Main Site
http://www.mysite.com/administrator -> Admin
You can log into Admin using the username 'admin' along with the
password that was generated or you chose during the web based install.
Joomla! ADMINISTRATION
----------------------
Upon a new installation, your JoomlaS website defaults to a very basic
configuration with only a few active components, modules and templates
(CMTs).
Use Admin to install and configure additional CMTs, add users, select
default language and much more.
Note that additional community-contributed CMTs and languages are
available via http://www.joomla.org
<?php
/**
* @version $Id: INSTALL.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
REQUIREMENTS
------------
First you must have the base environment for Joomla.
We have thoroughly tested Joomla! on: Linux, Free BSD, Mac OS X and Windows NT/2000.
Linux or one of the BSD's are recommended, but anything else that can run the
3 pieces of software listed below should do it.
Apache -> http://www.apache.org
MySQL -> http://www.mysql.com
PHP -> http://www.php.net
SERVER CONFIGURATION
--------------------
You MUST ensure that PHP has been compiled with support for MySQL and Zlib
in order to successfully run Joomla.
While we have reports that Joomla! works on IIS server we recommend Apache
for running Joomla! on Windows.
OPTIONAL COMPONENTS
-------------------
If you want support for SEF (Search Engine Friendly) URLs, you'll need mod_rewrite and the ability to
use local .htaccess files.
INSTALLATION
------------
1. DOWNLOAD Joomla
You can obtain the latest Joomla! release from:
http://www.joomla.org
Copy the tar.gz file into a working directory e.g.
$ cp JoomlaVx.x.x-Stable.tar.gz /tmp/Joomla
Change to the working directory e.g.
$ cd /tmp/Joomla
Extract the files e.g.
$ tar -zxvf JoomlaVx.x.x-Stable.tar.gz
This will extract all Joomla! files and directories. Move the contents
of that directory into a directory within your web server's document
root or your public HTML directory e.g.
$ mv /tmp/Joomla/* /var/www/html
Alternatively if you downloaded the file to your computer and unpacked
it locally use a FTP program to upload all files to your server.
Make sure all PHP, HTML, CSS and JS files are sent in ASCII mode and
image files (GIF, JPG, PNG) in BINARY mode.
2. CREATE THE Joomla! DATABASE
Joomla! will currently only work with MySQL. In the following examples,
"db_user" is an example MySQL user which has the CREATE and GRANT
privileges. You will need to use the appropriate user name for your
system.
First, you must create a new database for your Joomla! site e.g.
$ mysqladmin -u db_user -p create Joomla
MySQL will prompt for the 'db_user' database password and then create
the initial database files. Next you must login and set the access
database rights e.g.
$ mysql -u db_user -p
Again, you will be asked for the 'db_user' database password. At the
MySQL prompt, enter following command:
GRANT ALL PRIVILEGES ON Joomla.*
TO nobody@localhost IDENTIFIED BY 'password';
where:
'Joomla' is the name of your database
'nobody@localhost' is the userid of your webserver MySQL account
'password' is the password required to log in as the MySQL user
If successful, MySQL will reply with
Query OK, 0 rows affected
to activate the new permissions you must enter the command
flush privileges;
and then enter '\q' to exit MySQL.
Alternatively you can use your web control panel or phpMyAdmin to
create a database for Joomla.
3. WEB INSTALLER
Finally point your web browser to http://www.mysite.com where the Joomla! web
based installer will guide you through the rest of the installation.
4. CONFIGURE Joomla
You can now launch your browser and point it to your Joomla! site e.g.
http://www.mysite.com -> Main Site
http://www.mysite.com/administrator -> Admin
You can log into Admin using the username 'admin' along with the
password that was generated or you chose during the web based install.
Joomla! ADMINISTRATION
----------------------
Upon a new installation, your JoomlaS website defaults to a very basic
configuration with only a few active components, modules and templates
(CMTs).
Use Admin to install and configure additional CMTs, add users, select
default language and much more.
Note that additional community-contributed CMTs and languages are
available via http://www.joomla.org
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,8 +1,8 @@
<?php
/**
* @version $Id: configuration.php-dist 11687 2009-03-11 17:49:23Z ian $
* @version $Id: configuration.php-dist 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software and parts of it may contain or be derived from the
* GNU General Public License or other free or open source software licenses.
+71 -67
View File
@@ -1,67 +1,71 @@
##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)
# RewriteBase /
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)
# RewriteBase /
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
+88 -88
View File
@@ -1,88 +1,88 @@
<?php
/**
* @version $Id: index.php 11407 2009-01-09 17:23:42Z willebil $
* @package Joomla
* @copyright Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// Set flag that this is a parent file
define( '_JEXEC', 1 );
define('JPATH_BASE', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;
/**
* CREATE THE APPLICATION
*
* NOTE :
*/
$mainframe =& JFactory::getApplication('site');
/**
* INITIALISE THE APPLICATION
*
* NOTE :
*/
// set the language
$mainframe->initialise();
JPluginHelper::importPlugin('system');
// trigger the onAfterInitialise events
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');
/**
* ROUTE THE APPLICATION
*
* NOTE :
*/
$mainframe->route();
// authorization
$Itemid = JRequest::getInt( 'Itemid');
$mainframe->authorize($Itemid);
// trigger the onAfterRoute events
JDEBUG ? $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');
/**
* DISPATCH THE APPLICATION
*
* NOTE :
*/
$option = JRequest::getCmd('option');
$mainframe->dispatch($option);
// trigger the onAfterDispatch events
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
$mainframe->triggerEvent('onAfterDispatch');
/**
* RENDER THE APPLICATION
*
* NOTE :
*/
$mainframe->render();
// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');
/**
* RETURN THE RESPONSE
*/
echo JResponse::toString($mainframe->getCfg('gzip'));
<?php
/**
* @version $Id: index.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// Set flag that this is a parent file
define( '_JEXEC', 1 );
define('JPATH_BASE', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;
/**
* CREATE THE APPLICATION
*
* NOTE :
*/
$mainframe =& JFactory::getApplication('site');
/**
* INITIALISE THE APPLICATION
*
* NOTE :
*/
// set the language
$mainframe->initialise();
JPluginHelper::importPlugin('system');
// trigger the onAfterInitialise events
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');
/**
* ROUTE THE APPLICATION
*
* NOTE :
*/
$mainframe->route();
// authorization
$Itemid = JRequest::getInt( 'Itemid');
$mainframe->authorize($Itemid);
// trigger the onAfterRoute events
JDEBUG ? $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');
/**
* DISPATCH THE APPLICATION
*
* NOTE :
*/
$option = JRequest::getCmd('option');
$mainframe->dispatch($option);
// trigger the onAfterDispatch events
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
$mainframe->triggerEvent('onAfterDispatch');
/**
* RENDER THE APPLICATION
*
* NOTE :
*/
$mainframe->render();
// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');
/**
* RETURN THE RESPONSE
*/
echo JResponse::toString($mainframe->getCfg('gzip'));
+14 -14
View File
@@ -1,15 +1,15 @@
<?php
/**
* @version $Id: index2.php 11407 2009-01-09 17:23:42Z willebil $
* @package Joomla
* @copyright Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
$_REQUEST['tmpl'] = 'component';
<?php
/**
* @version $Id: index2.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
$_REQUEST['tmpl'] = 'component';
include('index.php');
+212 -212
View File
@@ -1,212 +1,212 @@
<?php
/**
* @version $Id: client.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// Set flag that this is a parent file
define( '_JEXEC', 1 );
define( 'JPATH_BASE', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );
require_once JPATH_BASE.DS.'includes'.DS.'defines.php';
require_once JPATH_BASE.DS.'includes'.DS.'framework.php';
// Templates etc. are not available for the XMLRPC application, therefore this simple error handler
JError::setErrorHandling( E_ERROR, 'die' );
JError::setErrorHandling( E_WARNING, 'echo' );
JError::setErrorHandling( E_NOTICE, 'echo' );
// create the mainframe object
$mainframe =& JFactory::getApplication('xmlrpc');
// Ensure that this application is enabled
if (!($mainframe->getCfg('xmlrpc_server') && $mainframe->getCfg('debug'))) {
JError::raiseError(403, 'XML-RPC Client or Debugging not enabled.');
}
// Includes the required class file for the XML-RPC Client
jimport('phpxmlrpc.xmlrpc');
// Get default values for the XMLRPC server host and path
$uri = JURI::getInstance();
$host = $uri->getHost();
$path = $uri->getPath();
$path = dirname($path).'/';
$host = JRequest::getString( 'host', $host, 'post' );
$path = JRequest::getString( 'path', $path, 'post' );
$debug = JRequest::getVar( 'debug', 0, 'post', 'int' );
$task = JRequest::getVar( 'task', 0, 'post', 'cmd' );
$output = '';
$array = array();
if ($task)
{
if ($path)
{
$client = new xmlrpc_client($path, $host, 80);
}
else
{
$client = new xmlrpc_client('', $host);
}
$client->setDebug($debug);
switch ($task)
{
case 'list_methods':
{
jimport( 'joomla.html.html' );
$msg = new xmlrpcmsg('system.listMethods');
$xmlrpcdoc = $client->send($msg);
//echo var_dump($xmlrpcdoc);
//die;
if ($xmlrpcdoc->faultCode() == 0)
{
$result = $xmlrpcdoc->value();
$array = $result->scalarval();
}
else
{
print $xmlrpcdoc->faultString();
}
$methods = array();
for ($i=0; $i < sizeof($array); $i++)
{
$var = new xmlrpcval($array[$i]);
$array_method = $var->scalarval();
$methods[$i] = JHTML::_('select.option', $array_method->scalarval());
}
$output = 'Methods<br />';
$output .= JHTML::_('select.genericlist', $methods, 'method', 'size="10"', 'value', 'text' );
$output .= ' <input name="args" type="text" />';
$output .= ' <input name="task" type="submit" value="exec" />';
} break;
case 'exec':
{
$method = JRequest::getVar( 'method', '', '', 'cmd' );
$args = JRequest::getVar( 'args' );
$message = new xmlrpcmsg($method, array(new xmlrpcval(0, "int")));
$xmlrpcdoc = $client->send($message);
if ($xmlrpcdoc->faultCode()== 0)
{
$scalar_var = $xmlrpcdoc->value();
$output = var_export($scalar_var->scalarval(), true);
}
else
{
print $xmlrpcdoc->faultString();
}
} break;
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="PSPad editor, www.pspad.com" />
<title>Joomla! XML-RPC Test Client</title>
<style type="text/css">
body {
margin: 0px;
padding: 0px;
border: 0px;
background-color: #A69A76;
}
form {
margin: 0px;
padding: 0px;
border: 0px;
}
.page {
margin-left: auto;
margin-right: auto;
margin-top: 10px;
margin-bottom: 10px;
padding: 5px;
width:80%;
background-color: #F2EBDD;
text-align: left;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
td {
font-size: 11px;
color: #000000;
text-decoration: none;
line-height: 14px;
}
input {
border: 1px solid #AD5900;
background-color: #fff;
padding: 2px;
}
.int_h1 {
font-family: verdana;
font-size: 18px;
font-weight: bold;
}
.section_colour_bar{
height: 2px;
background-color:#AD5900;
}
.ctr {
text-align: center;
}
</style>
</head>
<body>
<form method="post">
<div class="ctr" align="center">
<div class="page" align="center">
<div style="background-color:#fff">
<div class="int_h1" style="padding: 3px 0 8px 5px;">Joomla! XML-RPC Test Client</div>
</div>
<div class="section_colour_bar"></div>
<table>
<tr>
<td>XML-RPC Host</td>
<td>
<input name="host" type="text" size="50" value="<?php echo $host; ?>" />
<small>Eg: www.test.com or http://james:bond@www.test.com/xmlrpc</small>
</td>
</tr>
<tr>
<td>Server File</td>
<td>
<input name="path" type="text" size="50" value="<?php echo $path; ?>" />
<input name="task" type="submit" value="list_methods" />
Debug:
<input name="debug" type="checkbox" value="1" <?php echo $debug ? 'checked="yes"' : ''; ?> />
</td>
</tr>
</table>
<?php echo $output; ?>
</div>
</div>
</form>
</body>
</html>
<?php
/**
* @version $Id: client.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// Set flag that this is a parent file
define( '_JEXEC', 1 );
define( 'JPATH_BASE', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );
require_once JPATH_BASE.DS.'includes'.DS.'defines.php';
require_once JPATH_BASE.DS.'includes'.DS.'framework.php';
// Templates etc. are not available for the XMLRPC application, therefore this simple error handler
JError::setErrorHandling( E_ERROR, 'die' );
JError::setErrorHandling( E_WARNING, 'echo' );
JError::setErrorHandling( E_NOTICE, 'echo' );
// create the mainframe object
$mainframe =& JFactory::getApplication('xmlrpc');
// Ensure that this application is enabled
if (!($mainframe->getCfg('xmlrpc_server') && $mainframe->getCfg('debug'))) {
JError::raiseError(403, 'XML-RPC Client or Debugging not enabled.');
}
// Includes the required class file for the XML-RPC Client
jimport('phpxmlrpc.xmlrpc');
// Get default values for the XMLRPC server host and path
$uri = JURI::getInstance();
$host = $uri->getHost();
$path = $uri->getPath();
$path = dirname($path).'/';
$host = JRequest::getString( 'host', $host, 'post' );
$path = JRequest::getString( 'path', $path, 'post' );
$debug = JRequest::getVar( 'debug', 0, 'post', 'int' );
$task = JRequest::getVar( 'task', 0, 'post', 'cmd' );
$output = '';
$array = array();
if ($task)
{
if ($path)
{
$client = new xmlrpc_client($path, $host, 80);
}
else
{
$client = new xmlrpc_client('', $host);
}
$client->setDebug($debug);
switch ($task)
{
case 'list_methods':
{
jimport( 'joomla.html.html' );
$msg = new xmlrpcmsg('system.listMethods');
$xmlrpcdoc = $client->send($msg);
//echo var_dump($xmlrpcdoc);
//die;
if ($xmlrpcdoc->faultCode() == 0)
{
$result = $xmlrpcdoc->value();
$array = $result->scalarval();
}
else
{
print $xmlrpcdoc->faultString();
}
$methods = array();
for ($i=0; $i < sizeof($array); $i++)
{
$var = new xmlrpcval($array[$i]);
$array_method = $var->scalarval();
$methods[$i] = JHTML::_('select.option', $array_method->scalarval());
}
$output = 'Methods<br />';
$output .= JHTML::_('select.genericlist', $methods, 'method', 'size="10"', 'value', 'text' );
$output .= ' <input name="args" type="text" />';
$output .= ' <input name="task" type="submit" value="exec" />';
} break;
case 'exec':
{
$method = JRequest::getVar( 'method', '', '', 'cmd' );
$args = JRequest::getVar( 'args' );
$message = new xmlrpcmsg($method, array(new xmlrpcval(0, "int")));
$xmlrpcdoc = $client->send($message);
if ($xmlrpcdoc->faultCode()== 0)
{
$scalar_var = $xmlrpcdoc->value();
$output = var_export($scalar_var->scalarval(), true);
}
else
{
print $xmlrpcdoc->faultString();
}
} break;
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="PSPad editor, www.pspad.com" />
<title>Joomla! XML-RPC Test Client</title>
<style type="text/css">
body {
margin: 0px;
padding: 0px;
border: 0px;
background-color: #A69A76;
}
form {
margin: 0px;
padding: 0px;
border: 0px;
}
.page {
margin-left: auto;
margin-right: auto;
margin-top: 10px;
margin-bottom: 10px;
padding: 5px;
width:80%;
background-color: #F2EBDD;
text-align: left;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
td {
font-size: 11px;
color: #000000;
text-decoration: none;
line-height: 14px;
}
input {
border: 1px solid #AD5900;
background-color: #fff;
padding: 2px;
}
.int_h1 {
font-family: verdana;
font-size: 18px;
font-weight: bold;
}
.section_colour_bar{
height: 2px;
background-color:#AD5900;
}
.ctr {
text-align: center;
}
</style>
</head>
<body>
<form method="post">
<div class="ctr" align="center">
<div class="page" align="center">
<div style="background-color:#fff">
<div class="int_h1" style="padding: 3px 0 8px 5px;">Joomla! XML-RPC Test Client</div>
</div>
<div class="section_colour_bar"></div>
<table>
<tr>
<td>XML-RPC Host</td>
<td>
<input name="host" type="text" size="50" value="<?php echo $host; ?>" />
<small>Eg: www.test.com or http://james:bond@www.test.com/xmlrpc</small>
</td>
</tr>
<tr>
<td>Server File</td>
<td>
<input name="path" type="text" size="50" value="<?php echo $path; ?>" />
<input name="task" type="submit" value="list_methods" />
Debug:
<input name="debug" type="checkbox" value="1" <?php echo $debug ? 'checked="yes"' : ''; ?> />
</td>
</tr>
</table>
<?php echo $output; ?>
</div>
</div>
</form>
</body>
</html>
@@ -1,75 +1,75 @@
<?php
/**
* @version $Id: application.php 10823 2008-08-27 17:18:14Z tcp $
* @package Joomla
* @subpackage Installation
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
/**
* Joomla! XML-RPC Application class
*
* Provide many supporting API functions
*
* @package Joomla
* @final
*/
class JXMLRPC extends JApplication
{
/**
* The encoding (default: UTF-8)
*
* @var string
* @access protected
*/
var $_encoding = null;
/**
* Class constructor
*
* @access protected
* @param array An optional associative array of configuration settings.
* Recognized key values include 'clientId' (this list is not meant to be comprehensive).
*/
function __construct($config = array())
{
$config['clientId'] = 3;
parent::__construct($config);
//Set the encoding
$this->_encoding = "UTF-8";
//Set the root in the URI based on the application name
JURI::root(null, str_replace('/'.$this->getName(), '', JURI::base(true)));
}
/**
* Get the charset encoding
*
* @return string the charset encoding
* @since 1.5
*/
function getEncoding() {
return $this->_encoding;
}
/**
* Set the charset encoding
*
* @var $encoding The encoding of the charset
*/
function setEncoding($encoding) {
$this->_encoding = $encoding;
}
}
<?php
/**
* @version $Id: application.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @subpackage Installation
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
/**
* Joomla! XML-RPC Application class
*
* Provide many supporting API functions
*
* @package Joomla
* @final
*/
class JXMLRPC extends JApplication
{
/**
* The encoding (default: UTF-8)
*
* @var string
* @access protected
*/
var $_encoding = null;
/**
* Class constructor
*
* @access protected
* @param array An optional associative array of configuration settings.
* Recognized key values include 'clientId' (this list is not meant to be comprehensive).
*/
function __construct($config = array())
{
$config['clientId'] = 3;
parent::__construct($config);
//Set the encoding
$this->_encoding = "UTF-8";
//Set the root in the URI based on the application name
JURI::root(null, str_replace('/'.$this->getName(), '', JURI::base(true)));
}
/**
* Get the charset encoding
*
* @return string the charset encoding
* @since 1.5
*/
function getEncoding() {
return $this->_encoding;
}
/**
* Set the charset encoding
*
* @var $encoding The encoding of the charset
*/
function setEncoding($encoding) {
$this->_encoding = $encoding;
}
}
?>
+30 -30
View File
@@ -1,31 +1,31 @@
<?php
/**
* @version $Id: defines.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla
* @subpackage Installation
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
//Joomla framework path definitions
$parts = explode( DS, JPATH_BASE );
array_pop( $parts );
define( 'JPATH_ROOT', implode( DS, $parts ) );
define( 'JPATH_SITE', JPATH_ROOT );
define( 'JPATH_CONFIGURATION', JPATH_ROOT );
define( 'JPATH_INSTALLATION', JPATH_ROOT . DS . 'installation' );
define( 'JPATH_ADMINISTRATOR', JPATH_ROOT . DS . 'administrator' );
define( 'JPATH_XMLRPC', JPATH_ROOT . DS . 'xmlrpc' );
define( 'JPATH_LIBRARIES', JPATH_ROOT . DS . 'libraries' );
define( 'JPATH_PLUGINS', JPATH_ROOT . DS . 'plugins' );
define( 'JPATH_CACHE', JPATH_BASE . DS . 'cache');
<?php
/**
* @version $Id: defines.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @subpackage Installation
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
//Joomla framework path definitions
$parts = explode( DS, JPATH_BASE );
array_pop( $parts );
define( 'JPATH_ROOT', implode( DS, $parts ) );
define( 'JPATH_SITE', JPATH_ROOT );
define( 'JPATH_CONFIGURATION', JPATH_ROOT );
define( 'JPATH_INSTALLATION', JPATH_ROOT . DS . 'installation' );
define( 'JPATH_ADMINISTRATOR', JPATH_ROOT . DS . 'administrator' );
define( 'JPATH_XMLRPC', JPATH_ROOT . DS . 'xmlrpc' );
define( 'JPATH_LIBRARIES', JPATH_ROOT . DS . 'libraries' );
define( 'JPATH_PLUGINS', JPATH_ROOT . DS . 'plugins' );
define( 'JPATH_CACHE', JPATH_BASE . DS . 'cache');
?>
+66 -66
View File
@@ -1,67 +1,67 @@
<?php
/**
* @version $Id: framework.php 10382 2008-06-01 06:56:02Z pasamio $
* @package Joomla
* @subpackage Installation
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
/*
* Joomla! system checks
*/
@set_magic_quotes_runtime( 0 );
@ini_set('zend.ze1_compatibility_mode', '0');
if (!file_exists( JPATH_CONFIGURATION . DS . 'configuration.php' ) || (filesize( JPATH_CONFIGURATION . DS . 'configuration.php' ) < 10)) {
// TODO: Throw 500 error
header( 'Location: ../installation/index.php' );
exit();
}
/*
* Joomla! system startup
*/
// System includes
require_once( JPATH_LIBRARIES .DS.'joomla'.DS.'import.php');
// Pre-Load configuration
require_once( JPATH_CONFIGURATION .DS.'configuration.php' );
// System configuration
$CONFIG = new JConfig();
if (@$CONFIG->error_reporting === 0) {
error_reporting( 0 );
} else if (@$CONFIG->error_reporting > 0) {
error_reporting( $CONFIG->error_reporting );
ini_set( 'display_errors', 1 );
}
unset( $CONFIG );
/*
* Joomla! framework loading
*/
// Include object abstract class
require_once(JPATH_SITE.DS.'libraries'.DS.'joomla'.DS.'utilities'.DS.'compat'.DS.'compat.php');
// Joomla! library imports
jimport( 'joomla.environment.uri' );
jimport( 'joomla.user.user' );
jimport( 'joomla.event.event');
jimport( 'joomla.event.dispatcher');
jimport( 'joomla.plugin.helper' );
jimport( 'joomla.utilities.string' );
<?php
/**
* @version $Id: framework.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @subpackage Installation
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
/*
* Joomla! system checks
*/
@set_magic_quotes_runtime( 0 );
@ini_set('zend.ze1_compatibility_mode', '0');
if (!file_exists( JPATH_CONFIGURATION . DS . 'configuration.php' ) || (filesize( JPATH_CONFIGURATION . DS . 'configuration.php' ) < 10)) {
// TODO: Throw 500 error
header( 'Location: ../installation/index.php' );
exit();
}
/*
* Joomla! system startup
*/
// System includes
require_once( JPATH_LIBRARIES .DS.'joomla'.DS.'import.php');
// Pre-Load configuration
require_once( JPATH_CONFIGURATION .DS.'configuration.php' );
// System configuration
$CONFIG = new JConfig();
if (@$CONFIG->error_reporting === 0) {
error_reporting( 0 );
} else if (@$CONFIG->error_reporting > 0) {
error_reporting( $CONFIG->error_reporting );
ini_set( 'display_errors', 1 );
}
unset( $CONFIG );
/*
* Joomla! framework loading
*/
// Include object abstract class
require_once(JPATH_SITE.DS.'libraries'.DS.'joomla'.DS.'utilities'.DS.'compat'.DS.'compat.php');
// Joomla! library imports
jimport( 'joomla.environment.uri' );
jimport( 'joomla.user.user' );
jimport( 'joomla.event.event');
jimport( 'joomla.event.dispatcher');
jimport( 'joomla.plugin.helper' );
jimport( 'joomla.utilities.string' );
?>
+57 -58
View File
@@ -1,58 +1,57 @@
<?php
/**
*
* @version $Id: index.php 10381 2008-06-01 03:35:53Z pasamio $
* @package Joomla
* @subpackage Installation
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software and parts of it may contain or be derived from the
* GNU General Public License or other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// Set flag that this is a parent file
define( '_JEXEC', 1 );
define( 'JPATH_BASE', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );
require_once JPATH_BASE.DS.'includes'.DS.'defines.php';
require_once JPATH_BASE.DS.'includes'.DS.'framework.php';
// We want to echo the errors so that the xmlrpc client has a chance to capture them in the payload
JError::setErrorHandling( E_ERROR, 'die' );
JError::setErrorHandling( E_WARNING, 'echo' );
JError::setErrorHandling( E_NOTICE, 'echo' );
// create the mainframe object
$mainframe =& JFactory::getApplication('xmlrpc');
// Ensure that this application is enabled
if (!$mainframe->getCfg('xmlrpc_server')) {
JError::raiseError(403, 'XML-RPC Server not enabled.');
}
// Includes the required class file for the XML-RPC Server
jimport('phpxmlrpc.xmlrpc');
jimport('phpxmlrpc.xmlrpcs');
// load all available remote calls
JPluginHelper::importPlugin( 'xmlrpc' );
$allCalls = $mainframe->triggerEvent( 'onGetWebServices' );
$methodsArray = array();
foreach ($allCalls as $calls) {
$methodsArray = array_merge($methodsArray, $calls);
}
$xmlrpcServer = new xmlrpc_server($methodsArray, false);
// allow casting to be defined by that actual values passed
$xmlrpcServer->functions_parameters_type = 'phpvals';
// define UTF-8 as the internal encoding for the XML-RPC server
$xmlrpcServer->xml_header($mainframe->getEncoding());
$xmlrpc_internalencoding = $mainframe->getEncoding();
// debug level
$xmlrpcServer->setDebug(0);
// start the service
$xmlrpcServer->service();
?>
<?php
/**
* @version $Id: index.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @subpackage Installation
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software and parts of it may contain or be derived from the
* GNU General Public License or other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// Set flag that this is a parent file
define( '_JEXEC', 1 );
define( 'JPATH_BASE', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );
require_once JPATH_BASE.DS.'includes'.DS.'defines.php';
require_once JPATH_BASE.DS.'includes'.DS.'framework.php';
// We want to echo the errors so that the xmlrpc client has a chance to capture them in the payload
JError::setErrorHandling( E_ERROR, 'die' );
JError::setErrorHandling( E_WARNING, 'echo' );
JError::setErrorHandling( E_NOTICE, 'echo' );
// create the mainframe object
$mainframe =& JFactory::getApplication('xmlrpc');
// Ensure that this application is enabled
if (!$mainframe->getCfg('xmlrpc_server')) {
JError::raiseError(403, 'XML-RPC Server not enabled.');
}
// Includes the required class file for the XML-RPC Server
jimport('phpxmlrpc.xmlrpc');
jimport('phpxmlrpc.xmlrpcs');
// load all available remote calls
JPluginHelper::importPlugin( 'xmlrpc' );
$allCalls = $mainframe->triggerEvent( 'onGetWebServices' );
$methodsArray = array();
foreach ($allCalls as $calls) {
$methodsArray = array_merge($methodsArray, $calls);
}
$xmlrpcServer = new xmlrpc_server($methodsArray, false);
// allow casting to be defined by that actual values passed
$xmlrpcServer->functions_parameters_type = 'phpvals';
// define UTF-8 as the internal encoding for the XML-RPC server
$xmlrpcServer->xml_header($mainframe->getEncoding());
$xmlrpc_internalencoding = $mainframe->getEncoding();
// debug level
$xmlrpcServer->setDebug(0);
// start the service
$xmlrpcServer->service();
?>