CC-5781: Upgrade script for new storage quota implementation

add propel to include path
This commit is contained in:
drigato 2014-04-07 14:40:08 -04:00
parent c1cc3740f3
commit 197e12093d
1 changed files with 15 additions and 1 deletions

View File

@ -1,5 +1,19 @@
<?php
require_once 'propel/runtime/lib/Propel.php';
// Define path to application directory
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../../../install_minimal/../airtime_mvc/application'));
// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
get_include_path(),
realpath(APPLICATION_PATH . '/../library')
)));
/*set_include_path(implode(PATH_SEPARATOR, array(
get_include_path(),
realpath(APPLICATION_PATH . '/../library/propel/runtime/lib')
)));*/
class StorageQuotaUpgrade
{