Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1109224
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Aug 25, 12:34 PM
Size
2 KB
Mime Type
text/x-diff
Expires
Wed, Aug 27, 12:34 PM (30 m, 51 s)
Engine
blob
Format
Raw Data
Handle
716096
Attached To
rINP In-Portal
in-portal
View Options
Index: branches/unlabeled/unlabeled-1.1.2/admin/install_over_kx.php
===================================================================
--- branches/unlabeled/unlabeled-1.1.2/admin/install_over_kx.php (revision 6991)
+++ branches/unlabeled/unlabeled-1.1.2/admin/install_over_kx.php (revision 6992)
@@ -1,36 +1,41 @@
<?php
-//die('aaa');
// new startup: begin
define('REL_PATH', 'admin');
$relation_level = count( explode('/', REL_PATH) );
define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
if (!defined('IS_INSTALL')) define('IS_INSTALL', 1);
require_once FULL_PATH.'/kernel/startup.php';
// new startup: end
$application =& kApplication::Instance();
$application->Init();
require_once FULL_PATH.'/admin/install/install_lib.php';
echo '<strong>In-Portal Installation</strong><br />';
echo '1. Importing Database<br />';
RunSchemaFile($application->Conn, FULL_PATH.'/admin/install/inportal_schema.sql', 'dbconnection');
RunSQLFile($application->Conn, FULL_PATH.'/admin/install/inportal_data.sql', 'dbconnection');
echo '2. Writing config.php<br />';
if (!(isset($ini_file) && $ini_file)) {
$ini_file = FULL_PATH.'/config.php';
$ini_vars = inst_parse_portal_ini($ini_file, true);
}
$sql = 'SELECT Version FROM '.TABLE_PREFIX.'Modules WHERE Name = '.$application->Conn->qstr('In-Portal');
$mod_version = $application->Conn->GetOne($sql);
set_ini_value('Module Versions', 'In-Portal', $mod_version);
save_values();
- echo 'Done<br />';
-?>
\ No newline at end of file
+ echo '3. Removing Config Cache<br />';
+ $sql = 'DELETE FROM '.TABLE_PREFIX.'Cache WHERE (VarName = "config_files") OR (VarName LIKE "%_parsed")';
+ $application->Conn->Query($sql);
+
+ echo '<strong>Done</strong><br />';
+?>
+
+<a href="index.php">Proceed to Admin</a>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.1.2/admin/install_over_kx.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1.2.4
\ No newline at end of property
+1.1.2.5
\ No newline at end of property
Event Timeline
Log In to Comment