summaryrefslogtreecommitdiff
path: root/core/helpers/core_installer.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-06 16:39:18 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-06 16:39:18 +0000
commit4e107dac41f58d3ed6064809d8ee461ea8592e2c (patch)
tree06933f36bc392a6bc9623bd304581b6e690799ab /core/helpers/core_installer.php
parent48acd42f9b1dfee5ba011501a1c989eb7fde0373 (diff)
Implement fix for ticket #35. *** Requires reinstall of core ***
* Added new field in items table (path) which is sanitized version of name. * Added __set method on Items_module to set the path field whenever the name field is changed. * Made some changes to the scaffolding so missing the path column would not kill the scaffolding. * Changed MY_url::site so not having a 3rd parameter won't throw an error.
Diffstat (limited to 'core/helpers/core_installer.php')
-rw-r--r--core/helpers/core_installer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php
index 24b9e993..eacb08eb 100644
--- a/core/helpers/core_installer.php
+++ b/core/helpers/core_installer.php
@@ -63,6 +63,7 @@ class core_installer {
`level` int(9) NOT NULL,
`mime_type` varchar(64) default NULL,
`name` varchar(255) default NULL,
+ `path` varchar(255) default NULL,
`owner_id` int(9) default NULL,
`parent_id` int(9) NOT NULL,
`resize_height` int(9) default NULL,