summaryrefslogtreecommitdiff
path: root/index.php
AgeCommit message (Collapse)Author
2013-02-16#1749, 1754, 1901 - revert two recent commits that check for Zend Guard ↵shadlaws
obfuscation level support. This is not the root of the problem for all installs, and can trigger false positives that break previously-working installs... we'll have to find a better way.
2013-02-12#1749, #1754, #1901 - Add debugging message if Zend Guard code obfuscation ↵shadlaws
is enabled. Zend Guard code obfuscation is enabled by default on many PHP 5.3+ installations, but we don't use it and Kohana 2.4 is incompatible with it (see Trac tickets). Rather than crash and/or hack core Kohana code, we can display an error message to help the end user disable it.
2013-01-25#1964 - TMPPATH is mis-defined in index.php.shadlaws
- fixed mis-definition of TMPPATH, which was resulting in something like .../gallery/var//tmp/
2013-01-22gallery.menalto.com -> galleryproject.orgBharat Mediratta
codex.gallery2.org -> codex.galleryproject.org Fixes #1957.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-11-06Elevate X-Frame-Options from all admin and user pages to all PHPBharat Mediratta
responses. Fixes #1922.
2012-06-05Prevent Gallery from running on Windows. Fixes #1883.Bharat Mediratta
2012-05-07Fix missing date.timezone which results in a crash on startup in I18nBharat Mediratta
code. Fill in missing field and log it 25% of the time. Fixes #1853.
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-08Turn off session.use_trans_sid -- that feature attempts to inject session idsBharat Mediratta
into generated URLs and forms, but it doesn't interoperate will with Gallery's Ajax code.
2010-09-12Clean up cli default instructions.Bharat Mediratta
2010-06-07Tweak the test setup code to always copy database.php; something isBharat Mediratta
going wrong that's nuking test/var/database.php -- I'll figure that out, but in the meantime we can make this code more robust.
2010-06-07Don't recreate test/var/logs if it already exists. This fixes aBharat Mediratta
rather circuitous problem where if we have a failure early enough in the cycle, the failure is masked by our mkdir attempt. Even though we use @ to mask the error, the error handler still picks it up and turns it into an exception in Kohana_PHP_Exception::shutdown_handler() which obscures the real problem.
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-01-31Add a comment about error_reporting()Bharat Mediratta
2009-11-24Bootstrap has moved in K24Bharat Mediratta
2009-11-12Change the gallery3/index.php so there is a new option "install" which ↵Tim Almdal
invokes the installer.
2009-08-06If we fail the version check, at least show the version of PHP that the ↵Bharat Mediratta
server is using.
2009-06-16Warn the end user not to run test or package targets.Bharat Mediratta
2009-06-11add a missing 'break' after running tests which caused tests not toBharat Mediratta
run.
2009-06-10refactor CLI support and add a help message.Bharat Mediratta
2009-06-10Create 3 separate CLI targets: test / package / upgradeBharat Mediratta
Convert single to double quotes Get rid of strtr() + DIRECTORY_SEPARATOR crap.
2009-05-31Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-05-31Move the sql packaging code from installer into the gallery module. It must ↵Tim Almdal
be run from the command line and will throw a 404 if it is run as a web request.
2009-06-01Change E_NONE -> 0 .. turns out E_NONE is a figment of my imagination ↵bharat
according to http://us.php.net/manual/sl/function.error-reporting.php
2009-05-31Add a / to the end of TMPPATH to match other paths.Bharat Mediratta
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-05-30Add a / to the end of TMPPATH to match other paths.Bharat Mediratta
2009-05-28Rename index.local.php to local.php so that tab completion on i<tab> works.Bharat Mediratta
Makes running tests easier. Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-05-27Rename index.local.php to local.php so that tab completion on i<tab> works.Bharat Mediratta
Makes running tests easier.
2009-05-27Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-05-27standardize the version check between installer/index.php and index.phptim almdal
2009-05-27Rename 'kohana' to 'system' to conform to the Kohana filesystem layout. I'm ↵Bharat Mediratta
comfortable with us not clearly drawing the distinction about the fact that it's Kohana.
2009-05-27Restructure things so that the application is now just another module.Bharat Mediratta
Kohana makes this type of transition fairly straightforward in that all controllers/helpers/etc are still located in the cascading filesystem without any extra effort, except that I've temporarily added a hack to force modules/gallery into the module path. Rename what's left of "core" to be "application" so that it conforms more closely to the Kohana standard (basically, just application/config/config.php which is the minimal thing that you need in the application directory) There's still considerable work left to be done here.
2009-05-24Add support for index.local.php where you can override any existing settings ↵Bharat Mediratta
(useful for developers). This might be a bad idea; trying it out for now.
2009-05-21Set the error level to E_NONE for production.Bharat Mediratta
2009-05-21Set display_errors to false for security.Bharat Mediratta
2009-05-18Turn on IN_PRODUCTION mode now across the board. Create our own errorBharat Mediratta
page where we'll show whatever information is useful. Get rid of the IN_PRODUCTION hack in MY_View.php that we no longer need.
2009-05-18Define KOHANA as the front controller .php file.Bharat Mediratta
2009-05-17Define TMPPATHBharat Mediratta
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-01-14Remove the redirect to the installer; if we don't have a var dir this ↵Bharat Mediratta
results in an infinite redirect. Let's put this back in when the installer works.
2009-01-14The installer. At this point, the core installs, the user module defines ↵Tim Almdal
groups and users, but dies when attempting to create default permissions
2009-01-13Redirect to the installer if we don't have a var dir. This way theBharat Mediratta
installer gets a fresh request and doesn't carry anything forward from the production environment.
2009-01-10Change the format of the internal error messages and pretty print the ↵Tim Almdal
installation parameters
2009-01-10Continuing baby steps to a batch installer. At this point you can run the ↵Tim Almdal
installer and it will parse the command line arguments. currently the following arguments are accepted -h(database host) -u(database user) -p(database password) -d(database name) -t(table prefex) or -f(a response file). The order of processing, defaults are set. if the response file is provided, the contained values are merged and finally any command line parameters are merged.
2009-01-09Stage 1 of the installer. basically check that we can start as far as Kohana ↵Tim Almdal
correctly
2009-01-08Windows fixes: Use mkdir($path, 0777, true) instead of the unportable ↵Andy Staudacher
system("mkdir -p $path")
2008-12-16Define TEST_MODE 0 when we're in productionBharat Mediratta
2008-12-04Fix up the test framework to work now that we're only loading installed modulesBharat Mediratta
via the autoloader.