Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r488 - registry/trunk/app/Console/Command

Subject: COmanage Developers List

List archive

[comanage-dev] r488 - registry/trunk/app/Console/Command


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r488 - registry/trunk/app/Console/Command
  • Date: Tue, 9 Apr 2013 18:34:52 -0400
  • Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none

Author: benno
Date: 2013-04-09 18:34:52 -0400 (Tue, 09 Apr 2013)
New Revision: 488

Modified:
registry/trunk/app/Console/Command/DatabaseShell.php
Log:
Explicitly load AppController in DatabaseShell (CO-584)

Modified: registry/trunk/app/Console/Command/DatabaseShell.php
===================================================================
--- registry/trunk/app/Console/Command/DatabaseShell.php 2013-04-08
02:13:31 UTC (rev 487)
+++ registry/trunk/app/Console/Command/DatabaseShell.php 2013-04-09
22:34:52 UTC (rev 488)
@@ -28,10 +28,14 @@
// App::import doesn't handle this correctly
require(APP . '/Vendor/adodb/adodb.inc.php');
require(APP . '/Vendor/adodb/adodb-xmlschema03.inc.php');
+
+ // On some installs, AppController isn't loaded by App::import
+ require(APP . '/Controller/AppController.php');

class DatabaseShell extends AppShell {
function main()
{
+ print get_include_path();
// Database schema management. We use adodb rather than Cake's native
schema
// management because the latter is lacking (foreign keys not
migrated, hard
// to do upgrades).



  • [comanage-dev] r488 - registry/trunk/app/Console/Command, svnlog, 04/09/2013

Archive powered by MHonArc 2.6.16.

Top of Page